[alsa-devel] snd_pcm_hw_rule_noresample

Raymond Yau superquad.vortex2 at gmail.com
Fri Sep 23 08:33:17 CEST 2011


2011/9/20 Clemens Ladisch <clemens at ladisch.de>:
> Raymond Yau wrote:
>> ALSA: pcm: add snd_pcm_hw_rule_noresample()
>>
 ...
>>
>> ymfpci and emu10k1 have SNDRV_PCM_RATE_CONTINUOUS and support 8000Hz to 48000Hz
>>
>> after this patch and if application using
>> snd_pcm_hw_params_set_rate_resample(,pcm , params ,0)
>>
>> why the supported rate is only 48000Hz ?
>
> Because these cards run at 48 kHz and resample anything else.  That
> the resampler is implemented in hardware does not make a conceptual
> difference, and just means that the resampler has low quality.

There is a demo case about the problem of emu10k1 at 44100Hz

your patch also disable the software converter

https://bugs.launchpad.net/ubuntu/+source/alsa-plugins/+bug/57089/comments/2


More information about the Alsa-devel mailing list