From: Clemens Ladisch <clemens@ladisch.de>
To: Raymond Toy <rtoy@google.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: Getting the actual HW sample rate
Date: Thu, 08 Sep 2011 10:10:53 +0200 [thread overview]
Message-ID: <4E68788D.8040306@ladisch.de> (raw)
In-Reply-To: <CAE3TgXHC+C6xBxD_A_qZUm8TtN0V3GBo7kKLxDkasOZ50WDH=Q@mail.gmail.com>
Raymond Toy wrote:
> In my application, we want ... to avoid yet another sample rate
> conversion when playing out the audio.
Add the SND_PCM_NO_AUTO_RESAMPLE flag when calling snd_pcm_open, or use
snd_pcm_hw_params_set_rate_resample.
Regards,
Clemens
next prev parent reply other threads:[~2011-09-08 8:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-07 21:24 Getting the actual HW sample rate Raymond Toy
2011-09-08 8:10 ` Clemens Ladisch [this message]
2011-09-08 22:26 ` Raymond Toy
2011-09-12 17:54 ` Raymond Toy
2011-09-12 20:29 ` Clemens Ladisch
2011-09-12 20:59 ` Raymond Toy
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=4E68788D.8040306@ladisch.de \
--to=clemens@ladisch.de \
--cc=alsa-devel@alsa-project.org \
--cc=rtoy@google.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox