All of lore.kernel.org
 help / color / mirror / Atom feed
* 24 bit sample embedded in 32 bits
@ 2012-07-02 10:11 Vipin Kumar
  2012-07-02 11:01 ` Clemens Ladisch
  2012-07-02 11:02 ` Jaroslav Kysela
  0 siblings, 2 replies; 4+ messages in thread
From: Vipin Kumar @ 2012-07-02 10:11 UTC (permalink / raw)
  To: alsa-devel@alsa-project.org, Mark Brown

Hello,

I assume that the alsa framework expects the 24 bit sample data to be 
packed one after the other. for example while recording a 2 channel, 24 
bit sample data, typically the dma reads a fifo (which receives data 
from adc) and prepares a buffer which is then passed to the upper layers.

This buffer is expeted to be 24byte left channel and then 24 byte right 
channel. Am I right?

If the above assumption is correct, I need to find a way to tell the 
framework that the data is 24bit but is embedded in 32 bit. ie 32bit 
left and then 32 bit right channel data

I am tending to think that there has to be a way but I am unable to find 
it. Can you please point me to the right direction

Regards
Vipin

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-07-02 11:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-02 10:11 24 bit sample embedded in 32 bits Vipin Kumar
2012-07-02 11:01 ` Clemens Ladisch
2012-07-02 11:11   ` Vipin Kumar
2012-07-02 11:02 ` Jaroslav Kysela

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.