[alsa-devel] Griffin FireWave stream format information

Stefan Richter stefanr at s5r6.in-berlin.de
Fri Feb 28 15:09:16 CET 2014


On Feb 28 Takashi Sakamoto wrote:
>  > 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.

$ for n in 2 3 4 5; do echo $n; firewire-request /dev/fw8 fcp 0x00ffbfc000000000ff0090400${n}02010606; sleep 1; firewire-request /dev/fw8 fcp 0x01ffbfc000000000ffffffff; sleep 1; done 
2
response: 000: 09 ff bf c0 00 00 00 00 ff 00 90 40 02 02 01 06 ........... at ....
response: 010: 06                                              .
response: 000: 0c ff bf c0 00 00 00 00 ff 00 90 40 02 02 01 06 ........... at ....
response: 010: 06                                              .
3
response: 000: 09 ff bf c0 00 00 00 00 ff 00 90 40 03 02 01 06 ........... at ....
response: 010: 06                                              .
response: 000: 0c ff bf c0 00 00 00 00 ff 00 90 40 03 02 01 06 ........... at ....
response: 010: 06                                              .
4
response: 000: 09 ff bf c0 00 00 00 00 ff 00 90 40 04 02 01 06 ........... at ....
response: 010: 06                                              .
response: 000: 0c ff bf c0 00 00 00 00 ff 00 90 40 04 02 01 06 ........... at ....
response: 010: 06                                              .
5
response: 000: 09 ff bf c0 00 00 00 00 ff 00 90 40 05 02 01 06 ........... at ....
response: 010: 06                                              .
response: 000: 0c ff bf c0 00 00 00 00 ff 00 90 40 05 02 01 06 ........... at ....
response: 010: 06                                              .

-- 
Stefan Richter
-=====-====- --=- ===--
http://arcgraph.de/sr/


More information about the Alsa-devel mailing list