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:
@@ -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
|
||||
|
Reference in New Issue
Block a user