6 Oct
2009
6 Oct
'09
3:46 p.m.
At Tue, 6 Oct 2009 15:33:39 +0200 (CEST), 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=0...
My other proposals:
- remove all SND_SCN_ defines - they are quite use-case specific
- the names should be just documented somewhere
Keeping the basic and common strings makes sense, I think. After all, the apps need to use the correct strings.
- 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);
This sounds not bad, but let's argue first what parameters could be added in future.
thanks,
Takashi