aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/shout_plugin.h
diff options
context:
space:
mode:
authorAntoine Beaupré <anarcat@anarcat.ath.cx>2009-01-14 23:28:26 +0100
committerMax Kellermann <max@duempel.org>2009-01-14 23:28:26 +0100
commitb7fe09fa5221d89f5dc1aa4990a10498aa6b2f4b (patch)
tree2bc3ac55a31615aad04e76ca1de7183cb0d4844e /src/output/shout_plugin.h
parent283c2621f3e7dabf2e1159807289743a0abe657d (diff)
downloadmpd-b7fe09fa5221d89f5dc1aa4990a10498aa6b2f4b.tar.gz
mpd-b7fe09fa5221d89f5dc1aa4990a10498aa6b2f4b.tar.xz
mpd-b7fe09fa5221d89f5dc1aa4990a10498aa6b2f4b.zip
shout: enlarge buffer size to 32 kB
I was having problems with shoutcast stream outputs before applying the attached patch, which enlarges the shoutcast output buffer. Ideally, this should be configurable, but this resolves the issue for my needs.
Diffstat (limited to '')
-rw-r--r--src/output/shout_plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/shout_plugin.h b/src/output/shout_plugin.h
index 46514fdc3..77ce1b723 100644
--- a/src/output/shout_plugin.h
+++ b/src/output/shout_plugin.h
@@ -52,7 +52,7 @@ struct shout_encoder_plugin {
};
struct shout_buffer {
- unsigned char data[8192];
+ unsigned char data[32768];
size_t len;
};