[alsa-devel] Getting the actual HW sample rate

Clemens Ladisch clemens at ladisch.de
Thu Sep 8 10:10:53 CEST 2011


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


More information about the Alsa-devel mailing list