[alsa-devel] ascenario: Last batch of fixes.

Stefan Schmidt stefan at datenfreihafen.org
Fri Oct 9 17:53:28 CEST 2009


Hello.

This is the last set of fixes I have in my queue.

[PATCH 1/3] ascenario: Add check for set scenario in snd_scenario_get_control_id()
Debugged some hours that I should test it after _set() and not only after
_list(). Better let the user know that no scenario is set instead of silently
using a non existing scenario and fail.

[PATCH 2/3] ascenario: Convert last sprintf() to snprintf()
Some more sprintf() replaced with the more secure snprintf().

[PATCH 3/3] ascenario: Make sequences unique for every scenario.
That one actually got me some grey hairs. I'm pretty sure I tested it earlier
and it worked as it should, but I can find now traces of this. Fixed for good
now.

[PATCH] ascenario: Add dump and configure utils for ascneario.
Reference patch against alsa-utils for some small utilities using the new
scenario API. Only change from the last time is that _dump() now has two
parameters even if the new one is still unused.

regards
Stefan Schmidt


More information about the Alsa-devel mailing list