All of lore.kernel.org
 help / color / mirror / Atom feed
* Query about  SNDRV_PCM_FORMAT_S24_LE
@ 2013-02-28  8:08 Patrick Lai
  2013-02-28  8:45 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick Lai @ 2013-02-28  8:08 UTC (permalink / raw)
  To: alsa-devel

Hi,

The DSP I am working with currently supports 24-bit PCM sample in
32-bit data space but with LSB padded. Based on the discussion I found
on line, SNDRV_PCM_FORMAT_S24_LE is defined to be 24-bit PCM sample in
32-bit data space with MSB padded. Also, there is no format macro
defined for the format which my DSP supports. Please correct me if I am
wrong. Furthermore, which software layer in audio stack of a typical
linux distribution such as ubuntu handles the padding. I don't think
it's handled by the alsa library. Does application or pulseaudio handle
the padding? I would think it's done in pulseaudio. I have not study
pulseaudio codec extensively but would think someone on the mailing
list can give a quick answer.

Thanks
Patrick
-- 
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.

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

end of thread, other threads:[~2013-02-28  8:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-28  8:08 Query about SNDRV_PCM_FORMAT_S24_LE Patrick Lai
2013-02-28  8:45 ` Takashi Iwai

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.