mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-10 11:50:53 +00:00
make all buffers the same size
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@384 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
b0db977fd4
commit
2a329aa5e7
8 files changed
+12
-12
No files matched your search
+5
-5
@@ -58,18 +58,18 @@ struct switch_core_session {
|
||||
struct switch_io_event_hooks event_hooks;
|
||||
switch_codec *read_codec;
|
||||
switch_codec *write_codec;
|
||||
// TBD Make these 128k buffers size themselves dynamicly
|
||||
|
||||
switch_buffer *raw_write_buffer;
|
||||
switch_frame raw_write_frame;
|
||||
switch_frame enc_write_frame;
|
||||
unsigned char *raw_write_buf[131072];
|
||||
unsigned char *enc_write_buf[131072];
|
||||
unsigned char *raw_write_buf[SWITCH_RECCOMMENDED_BUFFER_SIZE];
|
||||
unsigned char *enc_write_buf[SWITCH_RECCOMMENDED_BUFFER_SIZE];
|
||||
|
||||
switch_buffer *raw_read_buffer;
|
||||
switch_frame raw_read_frame;
|
||||
switch_frame enc_read_frame;
|
||||
unsigned char *raw_read_buf[131072];
|
||||
unsigned char *enc_read_buf[131072];
|
||||
unsigned char *raw_read_buf[SWITCH_RECCOMMENDED_BUFFER_SIZE];
|
||||
unsigned char *enc_read_buf[SWITCH_RECCOMMENDED_BUFFER_SIZE];
|
||||
|
||||
|
||||
switch_audio_resampler *read_resampler;
|
||||
|
||||
Reference in new issue
Block a user