stuff buffers into the bug to reduce stack allocation

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7467 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2008-02-01 19:20:22 +00:00
parent 366e1f46bc
commit d262ce56ed
2 changed files with 7 additions and 6 deletions
+2
View File
@@ -152,6 +152,8 @@ struct switch_media_bug {
void *user_data;
uint32_t flags;
uint8_t ready;
uint8_t data[SWITCH_RECOMMENDED_BUFFER_SIZE];
int16_t tmp[SWITCH_RECOMMENDED_BUFFER_SIZE];
time_t stop_time;
switch_thread_id_t thread_id;
struct switch_media_bug *next;