[alsa-devel] Can we add optional parameters in snd_pcm_hw_params

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Jan 19 14:37:58 CET 2010

On Tue, Jan 19, 2010 at 09:35:10PM +0800, Raul Xiong wrote:

> Basically, my requirment is: There are two modes: ModeA and ModeB. I'd like
> application to set this mode before it begin playing. If you have other
> better methods to reach this requirment, it's also welcome. Thanks.

Why not just expose a regular control for this and store the value in
your private data?

More information about the Alsa-devel mailing list