From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Richter Subject: Re: Griffin FireWave stream format information Date: Fri, 28 Feb 2014 15:09:16 +0100 Message-ID: <20140228150916.07416202@stein> References: <530EB782.6090205@sakamocchi.jp> <20140228105632.1a436d21@stein> <53106DCF.5050903@sakamocchi.jp> <20140228143454.3abb69fa@stein> <5310945B.90805@sakamocchi.jp> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from einhorn.in-berlin.de (einhorn.in-berlin.de [192.109.42.8]) by alsa0.perex.cz (Postfix) with ESMTP id 8ABA926512B for ; Fri, 28 Feb 2014 15:09:18 +0100 (CET) In-Reply-To: <5310945B.90805@sakamocchi.jp> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Takashi Sakamoto Cc: "alsa-devel@alsa-project.org" , Jay Fenlason List-Id: alsa-devel@alsa-project.org 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 ...........@.... response: 010: 06 . response: 000: 0c ff bf c0 00 00 00 00 ff 00 90 40 02 02 01 06 ...........@.... response: 010: 06 . 3 response: 000: 09 ff bf c0 00 00 00 00 ff 00 90 40 03 02 01 06 ...........@.... response: 010: 06 . response: 000: 0c ff bf c0 00 00 00 00 ff 00 90 40 03 02 01 06 ...........@.... response: 010: 06 . 4 response: 000: 09 ff bf c0 00 00 00 00 ff 00 90 40 04 02 01 06 ...........@.... response: 010: 06 . response: 000: 0c ff bf c0 00 00 00 00 ff 00 90 40 04 02 01 06 ...........@.... response: 010: 06 . 5 response: 000: 09 ff bf c0 00 00 00 00 ff 00 90 40 05 02 01 06 ...........@.... response: 010: 06 . response: 000: 0c ff bf c0 00 00 00 00 ff 00 90 40 05 02 01 06 ...........@.... response: 010: 06 . -- Stefan Richter -=====-====- --=- ===-- http://arcgraph.de/sr/