aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2005-03-05 14:45:27 +0000
committerWarren Dukes <warren.dukes@gmail.com>2005-03-05 14:45:27 +0000
commit99b28b12b605300f938ecefa06708cb2fcbaab7d (patch)
treef294f6bf5b14e99dc7d9e5dac618284f928e8a65 /src
parent8a00fa6c57cbeafc84ef92756cebb425be286192 (diff)
downloadmpd-99b28b12b605300f938ecefa06708cb2fcbaab7d.tar.gz
mpd-99b28b12b605300f938ecefa06708cb2fcbaab7d.tar.xz
mpd-99b28b12b605300f938ecefa06708cb2fcbaab7d.zip
this seemed to help a bit with the blip's on next
git-svn-id: https://svn.musicpd.org/mpd/trunk@3015 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src')
-rw-r--r--src/audioOutputs/audioOutput_alsa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/audioOutputs/audioOutput_alsa.c b/src/audioOutputs/audioOutput_alsa.c
index 9730ade36..6b50c05fc 100644
--- a/src/audioOutputs/audioOutput_alsa.c
+++ b/src/audioOutputs/audioOutput_alsa.c
@@ -225,6 +225,7 @@ static void alsa_dropBufferedAudio(AudioOutput * audioOutput) {
AlsaData * ad = audioOutput->data;
snd_pcm_drop(ad->pcm_handle);
+ snd_pcm_prepare(ad->pcm_handle);
}
inline static int alsa_errorRecovery(AlsaData * ad, int err) {