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: Mon, 12 Sep 2011 22:29:46 +0200 [thread overview]
Message-ID: <4E6E6BBA.3020904@ladisch.de> (raw)
In-Reply-To: <CAE3TgXFj7i=H-0Z9wn5uOnhUOHnXe3wPD1MS9qZnUhjP32-0MA@mail.gmail.com>
Raymond Toy wrote:
> On Thu, Sep 8, 2011 at 1:10 AM, Clemens Ladisch <clemens@ladisch.de
> <mailto:clemens@ladisch.de>> wrote:
>
> Add the SND_PCM_NO_AUTO_RESAMPLE flag when calling snd_pcm_open, or use
> snd_pcm_hw_params_set_rate_resample.
>
> Some further experimentation with this has confused me. I changed the
> sample code to call snd_pcm_hw_params_set_rate_resample with resample = 0.
>
> When I run the code without an .asoundrc (defaulting to pulse audio, I
> think), I get sample rrates : 1-192000.
The pulse plugin does not support this flag.
Regards,
Clemens
next prev parent reply other threads:[~2011-09-12 20:30 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
2011-09-08 22:26 ` Raymond Toy
2011-09-12 17:54 ` Raymond Toy
2011-09-12 20:29 ` Clemens Ladisch [this message]
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=4E6E6BBA.3020904@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