]> granicus.if.org Git - file/commitdiff
PR/92: ulm: Strengthen the PSF magic
authorChristos Zoulas <christos@zoulas.com>
Sun, 21 Jul 2019 09:58:53 +0000 (09:58 +0000)
committerChristos Zoulas <christos@zoulas.com>
Sun, 21 Jul 2019 09:58:53 +0000 (09:58 +0000)
magic/Magdir/audio

index 79ae5404c3600a51e8b49e449604c724c92e0582..f3324539c918b7c68e6f2219f6c61c2063433062 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: audio,v 1.113 2019/05/27 01:34:02 christos Exp $
+# $File: audio,v 1.114 2019/07/21 09:58:53 christos Exp $
 # audio:  file(1) magic for sound formats (see also "iff")
 #
 # Jan Nicolai Langfeldt (janl@ifi.uio.no), Dan Quinlan (quinlan@yggdrasil.com),
 # Used for audio rips for various consoles.
 # http://fileformats.archiveteam.org/wiki/Portable_Sound_Format
 # Added by David Korth <gerbilsoft@gerbilsoft.com>
-0      string  PSF     Portable Sound Format
+0      string  PSF
+>3     byte    0x01
+>3     byte    0x02
+>3     byte    0x11
+>3     byte    0x12
+>3     byte    0x13
+>3     byte    0x21
+>3     byte    0x22
+>3     byte    0x23
+>3     byte    0x41
+>>0    string  PSF     Portable Sound Format
 !:mime audio/x-psf
->3     byte    0x01    (Sony PlayStation)
->3     byte    0x02    (Sony PlayStation 2)
->3     byte    0x11    (Sega Saturn)
->3     byte    0x12    (Sega Dreamcast)
->3     byte    0x13    (Sega Mega Drive)
->3     byte    0x21    (Nintendo 64)
->3     byte    0x22    (Game Boy Advance)
->3     byte    0x23    (Super NES)
->3     byte    0x41    (Capcom QSound)
+>>>3   byte    0x01    (Sony PlayStation)
+>>>3   byte    0x02    (Sony PlayStation 2)
+>>>3   byte    0x11    (Sega Saturn)
+>>>3   byte    0x12    (Sega Dreamcast)
+>>>3   byte    0x13    (Sega Mega Drive)
+>>>3   byte    0x21    (Nintendo 64)
+>>>3   byte    0x22    (Game Boy Advance)
+>>>3   byte    0x23    (Super NES)
+>>>3   byte    0x41    (Capcom QSound)
 
 # Atari 8-bit SAP audio format
 # http://asap.sourceforge.net/sap-format.html