From b6bcc65a454b711b586ca221323f1efba35e6dab Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Sat, 23 Oct 2004 16:20:38 +0000 Subject: shout_sync before shout_send, not after git-svn-id: https://svn.musicpd.org/mpd/trunk@2318 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/audioOutput_shout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/audioOutput_shout.c b/src/audioOutput_shout.c index 9f0984f32..c650a74e5 100644 --- a/src/audioOutput_shout.c +++ b/src/audioOutput_shout.c @@ -242,12 +242,12 @@ static void shout_handleError(ShoutData * sd, int err) { static void write_page(ShoutData * sd) { if(!sd->og.header_len || !sd->og.body_len) return; - /*shout_sync(sd->shoutConn);*/ + shout_sync(sd->shoutConn); int err = shout_send(sd->shoutConn, sd->og.header, sd->og.header_len); shout_handleError(sd, err); err = shout_send(sd->shoutConn, sd->og.body, sd->og.body_len); shout_handleError(sd, err); - shout_sync(sd->shoutConn); + /*shout_sync(sd->shoutConn);*/ } static int shout_openDevice(AudioOutput * audioOutput, -- cgit v1.2.3