30 Mar
2011
30 Mar
'11
3:27 p.m.
Aisheng Dong wrote:
Does ALSA core support hw sample rate conversion now?
Yes; this has always been supported for chips like Emu10k1.
I wonder if current ALSA core provide interface to support hw sample rate conversion?
In your driver, set the ..._CONTINUOUS flag in the rates field (see the section "Hardware Description" in the doc), and in the hw_params callback, program the SRC according to the selected rate.
Regards, Clemens