aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutput_shout.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-10-23 16:20:38 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-10-23 16:20:38 +0000
commitb6bcc65a454b711b586ca221323f1efba35e6dab (patch)
tree6794abe16feea2f9144e135b414f5dd1d8f6e45b /src/audioOutput_shout.c
parent8dbbea85984e923a369dd41988222c8af0870cfe (diff)
downloadmpd-b6bcc65a454b711b586ca221323f1efba35e6dab.tar.gz
mpd-b6bcc65a454b711b586ca221323f1efba35e6dab.tar.xz
mpd-b6bcc65a454b711b586ca221323f1efba35e6dab.zip
shout_sync before shout_send, not after
git-svn-id: https://svn.musicpd.org/mpd/trunk@2318 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/audioOutput_shout.c')
-rw-r--r--src/audioOutput_shout.c4
1 files 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,