Reset to clean state after snd_ctl_add_integer_elem_set ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm using snd_ctl_add_boolean_elem_set and snd_ctl_add_integer_elem_set to create some user kernel controls. While the operation work find I did not find any simple command to erase all those controls.

Even "/usr/sbin/alsactl --init" does not remove those added controls. The only way I find is to prevent /usr/sbin/alsactlto happen during reboot to really reset the ALSA driver to an initial state, which is really not pratical when developing/debugging.

Question: is there a simple method to return to a clean and fresh state after snd_ctl_add_xxxx without rebooting the machine ?

Thank you

Fulup
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux