[alsa-devel] resetting an audio device?
cladisch at fastmail.net
Thu Sep 20 08:47:19 CEST 2007
william estrada wrote:
> I got my alsa player code to work. Now I need to figure out how to
> reset the audio device? I don't want to close the device, just recycle
When the device is not running (i.e., after calling snd_pcm_drop()),
call snd_pcm_hw_free() to free the configuration; then you can set a
new configuration with the snd_pcm_hw_params* functions.
More information about the Alsa-devel