All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Lai <plai@codeaurora.org>
To: alsa-devel <alsa-devel@alsa-project.org>
Subject: Query about  SNDRV_PCM_FORMAT_S24_LE
Date: Thu, 28 Feb 2013 00:08:46 -0800	[thread overview]
Message-ID: <512F108E.20904@codeaurora.org> (raw)

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.

             reply	other threads:[~2013-02-28  8:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-28  8:08 Patrick Lai [this message]
2013-02-28  8:45 ` Query about SNDRV_PCM_FORMAT_S24_LE Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=512F108E.20904@codeaurora.org \
    --to=plai@codeaurora.org \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.