[alsa-devel] How to tell user level hardware not support a certain format in a certain sample rate
Richard Zhao
linuxzsc at gmail.com
Mon Mar 2 15:04:04 CET 2009
2009/2/23 Richard Zhao <linuxzsc at gmail.com>:
> Hi,
>
> runtime->hw.rates and runtime->hw.formats indicate the rate and
> formats hardware can support, so the user level plugins can
> auto-convert the audio data. But hardware may not support a certain
> combin of sample rate and format, and will cause hw_parm fail. In such
> case, plugin auto-convert will not work.
> How can I let userlevel know the failure conbin, so let auto-convert work?
>
> Thanks
> Richard
>
Anybody can do me a favor please?
Thanks
Richard
More information about the Alsa-devel
mailing list