]> granicus.if.org Git - file/commitdiff
add dolby and epson printer.
authorChristos Zoulas <christos@zoulas.com>
Thu, 16 May 2002 15:25:11 +0000 (15:25 +0000)
committerChristos Zoulas <christos@zoulas.com>
Thu, 16 May 2002 15:25:11 +0000 (15:25 +0000)
magic/Magdir/dolby [new file with mode: 0644]
magic/Magdir/printer

diff --git a/magic/Magdir/dolby b/magic/Magdir/dolby
new file mode 100644 (file)
index 0000000..238fc2b
--- /dev/null
@@ -0,0 +1,28 @@
+# AC-3 aka A/52 aka Dolby Digital <ashitaka@gmx.at>
+# corrections, additions, etc. are always welcome!
+#
+# syncword
+0       beshort         0x0b77  AC-3 aka A/52 aka Dolby Digital stream,
+# fscod
+>4      byte&0xc0       0x00    48 kHz,
+>4      byte&0xc0       0x40    44.1 kHz,
+>4      byte&0xc0       0x80    32 kHz,
+# is this one used for 96 kHz?
+>4      byte&0xc0       0xc0    reserved frequency,
+# acmod
+>6      byte&0xe0       0x00    1+1 front,
+>6      byte&0xe0       0x20    1 front/0 rear,
+>6      byte&0xe0       0x40    2 front/0 rear,
+>6      byte&0xe0       0x60    3 front/0 rear,
+>6      byte&0xe0       0x80    2 front/1 rear,
+>6      byte&0xe0       0xa0    3 front/1 rear,
+>6      byte&0xe0       0xc0    2 front/2 rear,
+>6      byte&0xe0       0xe0    3 front/2 rear,
+# lfeon (these may be incorrect)
+>7      byte&0x40       0x00    LFE off,
+>7      byte&0x40       0x40    LFE on,
+# dsurmod (these may be incorrect)
+>6      beshort&0x0180  0x0000  Dolby Surround not indicated
+>6      beshort&0x0180  0x0080  not Dolby Surround encoded
+>6      beshort&0x0180  0x0100  Dolby Surround encoded
+>6      beshort&0x0180  0x0180  reserved Dolby Surround mode
index c47ff3baa6e5e42a50b5cd1f7a1ac25e5bebf598..dfbd5b97ceeec126b40443e57c55ddcc31c6df31 100644 (file)
@@ -86,3 +86,7 @@
 >45    string          >0              face %
 # From Jukka Ukkonen
 0      string          \033[K\002\0\0\017\033(a\001\0\001\033(g        Canon Bubble Jet BJC formatted data
+
+# From <mike@flyn.org>
+# These are the /etc/magic entries to decode data sent to an Epson printer.
+0       string          \x1B\x40\x1B\x28\x52\x08\x00\x00REMOTE1P        Epson Stylus Color 460 data