[alsa-devel] Griffin FireWave stream format information

Takashi Sakamoto o-takashi at sakamocchi.jp
Fri Feb 28 14:51:23 CET 2014


Stefan,

(Feb 28 2014 22:34), Stefan Richter wrote:
 > stefan at stein ~ $ firewire-request /dev/fw8 fcp 
0x00ffbfc000000000ff0090400202010200
 > response: 000: 09 ff bf c0 00 00 00 00 ff 00 90 40 02 02 01 02 
........... at ....
 > response: 010: 00                                              .
 > stefan at stein ~ $ firewire-request /dev/fw8 fcp 0x01ffbfc000000000ffffffff
 > response: 000: 0c ff bf c0 00 00 00 00 ff 00 90 40 02 02 01 02 
........... at ....
 > response: 010: 00
 >...

OK. Now we get to know how to change modes from 5.1ch surround sound to 
'Dolby Pro Logic II' mode.

(Feb 28 2014 22:34), Stefan Richter wrote:
> Nope, it is only
>    0c ff bf c0 00 00 00 00 ff 00 90 40 0[2345] 02 01 02 00.

Yes. I made mistakes again. (I'm ashamed...)

 > To recover to 5.1ch surround, please execute this command:
 > (for 32.0kHz)
 > $ firewire-request /dev/fw8 fcp 0x00ffbfc000000000ff0090400202010200
 > (for 44.1kHz)
 > $ firewire-request /dev/fw8 fcp 0x00ffbfc000000000ff0090400302010200
 > (for 48.0kHz)
 > $ firewire-request /dev/fw8 fcp 0x00ffbfc000000000ff0090400402010200
 > (for 96.0kHz)
 > $ firewire-request /dev/fw8 fcp 0x00ffbfc000000000ff0090400502010200

The last two bytes should be 0x0606.

Within this two bytes, the first byte means the number of data channels 
and the second byte means type of the data channel. So in FireWave, 6ch 
PCM data channel is expressed by 0x0606, 2ch IEC 60958-3 data channel is 
expressed by 0x0200.

I'm sorry to trouble you but I request you to try the sequence of 
commands with these fixes...


Thanks

Takashi Sakamoto
o-takashi at sakamocchi.jp



More information about the Alsa-devel mailing list