Re: [BULK] Re: CMIPCI driver. IEC958 user data and channel status

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
Thank you for your answer.
I would be happy if you could address the following correlated
questions:
1) According to your experience, is it correct to assume that once a PCM

   instance for playback/capture is prepared and triggered, the user
data 
   and channel status are constants during data transmit/receive?
2) In the case HW saves the user data and channel status in its internal

   registers, how would the ALSA stack know if any of them changed?
3) Is there a bridge application in the ALSA stack? I mean, in case 
   I would like to capture ICE958 frames and route them to ICE958
playback 
   channel.

Thanks.

-----Original Message-----
From: Takashi Iwai [mailto:tiwai@xxxxxxx] 
Sent: Tuesday, October 17, 2006 12:58 PM
To: Assaf Hoffman
Cc: alsa-devel@xxxxxxxxxxxxxxxxxxxxx; Rita Shtern
Subject: [BULK] Re:  CMIPCI driver. IEC958 user data and
channel status
Importance: Low

At Mon, 16 Oct 2006 13:41:02 +0200,
Assaf Hoffman wrote:
> 
> Hi,
> As I understand, the IEC958 frame incorporates not only sound sample
but
> also other information such as user data and channel status.
> I could not locate in the CMIPCI driver where the user data or channel
> status is read/write from/to the device and where is it kept on DRAM.

This depends on the chip model.  With the earlier chip, you have to
use 32bit SPDIF "raw" data including SPDIF status bits and data.
The soft_ac3 corresponding to this.  In the ALSA framework, alsa-lib
encodes/decodes the SPDIF raw data.

The recent version of chip has some register bits to indicate the
non-audio data.  The driver sets them up accordingly.
Then the 16bit data is handled as is without modification.


Takashi

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux