Re: PCM format 20 bit

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

 



Thank you, for your answer.
I do not understand how does it work? Obviously, the ALSA stack does not
have such format, and by trying to extract the buffer (capture example)
the stack will assume 32-bit sample width, getting trash on the lower 12
bits.
Please explain.
Thanks.

-----Original Message-----
From: Giuliano Pochini [mailto:pochini@xxxxxxxx] 
Sent: Sunday, October 22, 2006 8:56 PM
To: Assaf Hoffman
Cc: alsa-devel@xxxxxxxxxxxxxxxxxxxxx; Rita Shtern
Subject: Re:  PCM format 20 bit
Importance: Low

On Sun, 22 Oct 2006 18:11:55 +0200
"Assaf Hoffman" <hoffman@xxxxxxxxxxx> wrote:

> My HW supports 20-bit sample using 32-bit phy frame. As I understand,
> the only way the ALSA supports the 20-bit sample is 24-bit frame
> (SNDRV_PCM_FORMAT_x20_3xE).
>
> Please advice.

If it's 20 bits left-aligned in 32 bits, you can use S32_LE or similar
formats. For example the old echoaudio cards based on the DSP 56301 use
S32_LE but only the upper 20 bits contain data.


--
Giuliano.

-------------------------------------------------------------------------
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