From: Christos Zoulas Date: Sun, 21 Jul 2019 09:58:53 +0000 (+0000) Subject: PR/92: ulm: Strengthen the PSF magic X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3f9964b08dcd529bbdc4bdbd34e44a4552068d68;p=file PR/92: ulm: Strengthen the PSF magic --- diff --git a/magic/Magdir/audio b/magic/Magdir/audio index 79ae5404..f3324539 100644 --- a/magic/Magdir/audio +++ b/magic/Magdir/audio @@ -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), @@ -1001,17 +1001,27 @@ # Used for audio rips for various consoles. # http://fileformats.archiveteam.org/wiki/Portable_Sound_Format # Added by David Korth -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