207-magic-add-snes.patch 847 B

12345678910111213141516171819202122
  1. Author: Josh Triplett <josh@freedesktop.org>
  2. Description: New magic for SNES SPC700 sound files (Closes: #410847).
  3. diff -Naurp file.orig/magic/Magdir/audio file/magic/Magdir/audio
  4. --- file.orig/magic/Magdir/audio 2008-11-07 15:44:13.000000000 +0000
  5. +++ file/magic/Magdir/audio 2009-02-18 11:43:50.000000000 +0000
  6. @@ -306,6 +306,15 @@
  7. >122 byte&0x1 =1 PAL
  8. >122 byte&0x1 =0 NTSC
  9. +# Type: SNES SPC700 sound files
  10. +# From: Josh Triplett <josh@freedesktop.org>
  11. +0 string SNES-SPC700\ Sound\ File\ Data\ v SNES SPC700 sound file
  12. +>&0 string 0.30 \b, version %s
  13. +>>0x23 byte 0x1B \b, without ID666 tag
  14. +>>0x23 byte 0x1A \b, with ID666 tag
  15. +>>>0x2E string >\0 \b, song "%.32s"
  16. +>>>0x4E string >\0 \b, game "%.32s"
  17. +
  18. # Impulse tracker module (audio/x-it)
  19. 0 string IMPM Impulse Tracker module sound data -
  20. !:mime audio/x-mod