Commit f74ee1a3 authored by Max Kellermann's avatar Max Kellermann

output/alsa: don't recover on CANCEL

The recovery is for nothing if we get CLOSE afterwards. Let's not recover in the cancel() method, and let the next play() call sort it out.
parent cf8d278b
......@@ -35,6 +35,7 @@ ver 0.16 (20??/??/??)
- jack: don't disconnect during pause
- jack: connect to server on MPD startup
- wildcards allowed in audio_format configuration
- alsa: don't recover on CANCEL
* mixers:
- removed support for legacy mixer configuration
- reimplemented software volume as mixer+filter plugin
......
......@@ -500,7 +500,7 @@ alsa_cancel(void *data)
{
struct alsa_data *ad = data;
alsa_recover(ad, snd_pcm_drop(ad->pcm));
snd_pcm_drop(ad->pcm);
}
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment