]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
increase mp3 buffer size closing MODFORM-2
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 23 Oct 2007 14:26:45 +0000 (14:26 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 23 Oct 2007 14:26:45 +0000 (14:26 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6027 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/formats/mod_shout/mod_shout.c

index 31ed0f9c70cd467568bd1adfeab6a1c847c1f30a..e283430318deb71494abf71d5698c109eeb9d95e 100644 (file)
@@ -786,7 +786,7 @@ static switch_status_t shout_file_read(switch_file_handle_t *handle, void *data,
 static switch_status_t shout_file_write(switch_file_handle_t *handle, void *data, size_t *len)
 {
        shout_context_t *context = handle->private_info;
-       unsigned char mp3buf[2048] = "";
+       unsigned char mp3buf[8192] = "";
        int rlen;
        int16_t *audio = data;
        int nsamples = *len;