[alsa-devel] [PATCH] ascenario: Add scenario support to alsa-lib

Stefan Schmidt stefan at datenfreihafen.org
Tue Oct 6 17:12:32 CEST 2009


Hello.

On Tue, 2009-10-06 at 15:33, Jaroslav Kysela wrote:
> On Tue, 6 Oct 2009, Jaroslav Kysela wrote:
> 
> >So at least, the API basics is now clear. I'll prepare a branch in
> >alsa-lib GIT tree to have a start point for first accepted
> >implementation.
> 
> The updated header file is now at:
> 
> http://git.alsa-project.org/?p=alsa-lib.git;a=blob;f=include/ascenario.h;h=003eabeafb7320c96bac585f4aac922e5ba290bb;hb=97911335f2a50ad35c57df6c8a2cfe2867dba97a
> 
> My other proposals:
> 
> - remove all SND_SCN_ defines - they are quite use-case specific
>   - the names should be just documented somewhere
> - represent QoS with string (name) rather than integer -
>   QoS is also quite use-case specific
> - SND_SCN_INT_QOS may be SND_SCN_INT_QOS_POWER ?
> - what about to remove QOS and add universal parameter interface?
>   something like:
> 
> int snd_scenario_set_parameter(snd_scenario_t *scn, char *type, char *value);

I will work on these items over the next days. Patches will be based on the
ascenrio branch and get posted here.

regards
Stefan Schmidt


More information about the Alsa-devel mailing list