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.
This commit is contained in:
parent
cf8d278b78
commit
f74ee1a352
1
NEWS
1
NEWS
@ -35,6 +35,7 @@ ver 0.16 (20??/??/??)
|
|||||||
- jack: don't disconnect during pause
|
- jack: don't disconnect during pause
|
||||||
- jack: connect to server on MPD startup
|
- jack: connect to server on MPD startup
|
||||||
- wildcards allowed in audio_format configuration
|
- wildcards allowed in audio_format configuration
|
||||||
|
- alsa: don't recover on CANCEL
|
||||||
* mixers:
|
* mixers:
|
||||||
- removed support for legacy mixer configuration
|
- removed support for legacy mixer configuration
|
||||||
- reimplemented software volume as mixer+filter plugin
|
- reimplemented software volume as mixer+filter plugin
|
||||||
|
@ -500,7 +500,7 @@ alsa_cancel(void *data)
|
|||||||
{
|
{
|
||||||
struct alsa_data *ad = data;
|
struct alsa_data *ad = data;
|
||||||
|
|
||||||
alsa_recover(ad, snd_pcm_drop(ad->pcm));
|
snd_pcm_drop(ad->pcm);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user