search for: jitter_buffer_ctl

Displaying 4 results from an estimated 4 matches for "jitter_buffer_ctl".

2009 Mar 03
0
speex_jitter_buffer and DTX (and multiple streams)
...ient streams/buffers there can be and as far as I can see the speex_jitter_get(..) performs quite a bit of code. In this case just to iterate through all buffers calling get(...) is quite inefficient so Im considering implementing a int buffer_has_data(SpeexJitter* jitter) { int count = 0; jitter_buffer_ctl(Jitter->packets, JITTER_BUFFER_GET_AVALIABLE_COUNT, &count); return count; } so I wouldnt use the speex_jitter_get(..) unless it had 1 or more packets, but would this ruin the ticking? Another reason for using this method is that I need to detect which client is saying anything as I...
2009 Apr 22
0
Error in manual and a suggestion
...me). Since the jitter_buffer will reset after 20 consequtive lost packets you could just as well check for this and skip the ...get() for a?performance boost. ? In order to do this you should expose the lost_count to functions outside the lib either by implementing a direct function or as a part of jitter_buffer_ctl() with a GET_CONSEQ_LOST option. ? Yes?I write to long posts.... ? Best regards Per Lohmann ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20090422/4a5a83e8/attachment.htm
2008 Mar 29
0
GCC/ELF Visibility patch
...uint32_t rem) +EXPORT void jitter_buffer_remaining_span(JitterBuffer *jitter, spx_uint32_t rem) { /* Automatically-adjust the buffering delay if requested */ if (jitter->auto_adjust) @@ -777,7 +777,7 @@ /* Used like the ioctl function to control the jitter buffer parameters */ -int jitter_buffer_ctl(JitterBuffer *jitter, int request, void *ptr) +EXPORT int jitter_buffer_ctl(JitterBuffer *jitter, int request, void *ptr) { int count, i; switch(request) Index: libspeex/speex_callbacks.c =================================================================== --- libspeex/speex_callbacks.c (re...
2008 Mar 29
2
GCC/ELF Visibility patch (fwd)
...uint32_t rem) +EXPORT void jitter_buffer_remaining_span(JitterBuffer *jitter, spx_uint32_t rem) { /* Automatically-adjust the buffering delay if requested */ if (jitter->auto_adjust) @@ -777,7 +777,7 @@ /* Used like the ioctl function to control the jitter buffer parameters */ -int jitter_buffer_ctl(JitterBuffer *jitter, int request, void *ptr) +EXPORT int jitter_buffer_ctl(JitterBuffer *jitter, int request, void *ptr) { int count, i; switch(request) Index: libspeex/speex_callbacks.c =================================================================== --- libspeex/speex_callbacks.c (re...