don't need the extra snd_pcm_prepare after _drop
git-svn-id: https://svn.musicpd.org/mpd/trunk@3020 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
8004ae341f
commit
8e634b8237
@ -230,7 +230,6 @@ static void alsa_dropBufferedAudio(AudioOutput * audioOutput) {
|
|||||||
AlsaData * ad = audioOutput->data;
|
AlsaData * ad = audioOutput->data;
|
||||||
|
|
||||||
snd_pcm_drop(ad->pcmHandle);
|
snd_pcm_drop(ad->pcmHandle);
|
||||||
snd_pcm_prepare(ad->pcmHandle);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
inline static int alsa_errorRecovery(AlsaData * ad, int err) {
|
inline static int alsa_errorRecovery(AlsaData * ad, int err) {
|
||||||
|
Loading…
Reference in New Issue
Block a user