From ad1ba6e1e032f79d03b9a6e2c714de84d1911b3a Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Sun, 29 Jul 2018 05:53:49 +0000 Subject: vendor/file: add 5.34 gpg: Good signature from "Christos Zoulas (personal key) " [unknown] gpg: aka "Christos Zoulas (NetBSD key) " [unknown] Obtained from: ftp://ftp.astron.com/pub/file/ --- magic/Magdir/audio | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) (limited to 'magic/Magdir/audio') diff --git a/magic/Magdir/audio b/magic/Magdir/audio index e12ef68812161..1c92cf5d9fae9 100644 --- a/magic/Magdir/audio +++ b/magic/Magdir/audio @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------ -# $File: audio,v 1.86 2018/03/11 00:53:11 christos Exp $ +# $File: audio,v 1.89 2018/07/03 20:55:37 christos Exp $ # audio: file(1) magic for sound formats (see also "iff") # # Jan Nicolai Langfeldt (janl@ifi.uio.no), Dan Quinlan (quinlan@yggdrasil.com), @@ -858,3 +858,33 @@ 2 string ADLIB- AdLib instrument data >0 byte x \b, version %u >1 byte x \b.%u + +# CRI ADX ADPCM audio +# Used by various Sega games. +# https://en.wikipedia.org/wiki/ADX_(file_format) +# https://wiki.multimedia.cx/index.php/CRI_ADX_file +# Added by David Korth +0x00 beshort 0x8000 +>(2.S-2) string (c)CRI CRI ADX ADPCM audio +>>0x12 byte x v%u +>>0x04 byte 0x02 \b, pre-set prediction coefficients +>>0x04 byte 0x03 \b, standard ADX +>>0x04 byte 0x04 \b, exponential scale +>>0x04 byte 0x05 \b, AHX +>>0x08 belong x \b, %u Hz +>>0x12 byte 0x03 +>>>0x02 beshort >0x2B +>>>>0x18 belong !0 \b, looping +>>0x12 byte 0x04 +>>>0x02 beshort >0x37 +>>>>0x24 belong !0 \b, looping +>>0x13 byte&0x08 0x08 \b, encrypted + +# Lossless audio (.la) (http://www.lossless-audio.com/) +0 string LA +>2 string 03 Lossless audio version 0.3 +>2 string 04 Lossless audio version 0.4 + +# Sony PlayStation Audio (.xa) +0 leshort 0x4158 Sony PlayStation Audio + -- cgit v1.2.3