search for: jitterbufferpacket

Displaying 13 results from an estimated 13 matches for "jitterbufferpacket".

2007 Apr 18
3
Problems with the Speex Jitter Buffer
...in advance David Feurle Init() { m_JitterBuffer = jitter_buffer_init(m_Ticks); jitter_buffer_reset(m_JitterBuffer); } Exit() { jitter_buffer_destroy(m_JitterBuffer); } void BeatJitterBuffer::AddPacket(Packet* packet) { m_Mutex.Aquire(); char buff[320]; JitterBufferPacket p; m_Decoder->DecompressPacket(packet, buff, 320); p.data = buff; p.len = 320; p.timestamp = packet->SequenceNumber() * m_Ticks; p.span = m_Ticks; jitter_buffer_put(m_JitterBuffer, &p); } m_Mutex.Release(); delete packet; } vo...
2007 Jul 07
3
In-band user data
..._user_handler first unpacks 4 bits as size, then advances 8*size + 5 bits. First of all, shouldn't that be 5 bits for size (to match manual)? And where did that '+ 5 bits' come from? Next, and slightly unrelated question: Why does int jitter_buffer_update_delay(JitterBuffer *jitter, JitterBufferPacket *packet, spx_int32_t *start_offset); include the packet parameter? It's not used in the code, and it also makes the API slightly confusing as it's very unclear what that parameter should be :)
2007 Apr 20
2
Problems with the Speex Jitter Buffer
...uffer_reset(m_JitterBuffer); >> } >> >> Exit() >> { >> jitter_buffer_destroy(m_JitterBuffer); >> } >> >> void BeatJitterBuffer::AddPacket(Packet* packet) >> { >> m_Mutex.Aquire(); >> char buff[320]; >> JitterBufferPacket p; >> m_Decoder->DecompressPacket(packet, buff, 320); >> p.data = buff; >> p.len = 320; >> p.timestamp = packet->SequenceNumber() * m_Ticks; >> p.span = m_Ticks; >> jitter_buffer_put(m_JitterBuffer, &p); >&gt...
2006 May 02
2
New jitter.c, bug in speex_jitter_get?
Hi. After changing my code to construct a JitterBufferPacket and passing that to speex_jitter_put, my program works with the new jitter buffer using the wrapper functions (speex_jitter_* instead of the new jitter_buffer_*). However, a lot of warning: did you forget to call jitter_buffer_tick() by any chance? is displayed. Looking at speex_jitter_get, the...
2008 Mar 29
0
GCC/ELF Visibility patch
...buffer */ -void jitter_buffer_destroy(JitterBuffer *jitter) +EXPORT void jitter_buffer_destroy(JitterBuffer *jitter) { jitter_buffer_reset(jitter); speex_free(jitter); @@ -365,7 +365,7 @@ /** Put one packet into the jitter buffer */ -void jitter_buffer_put(JitterBuffer *jitter, const JitterBufferPacket *packet) +EXPORT void jitter_buffer_put(JitterBuffer *jitter, const JitterBufferPacket *packet) { int i,j; int late; @@ -459,7 +459,7 @@ } /** Get one packet from the jitter buffer */ -int jitter_buffer_get(JitterBuffer *jitter, JitterBufferPacket *packet, spx_int32_t desired_span, spx...
2007 Apr 20
0
Problems with the Speex Jitter Buffer
...jitter_buffer_init(m_Ticks); > jitter_buffer_reset(m_JitterBuffer); > } > > Exit() > { > jitter_buffer_destroy(m_JitterBuffer); > } > > void BeatJitterBuffer::AddPacket(Packet* packet) > { > m_Mutex.Aquire(); > char buff[320]; > JitterBufferPacket p; > m_Decoder->DecompressPacket(packet, buff, 320); > p.data = buff; > p.len = 320; > p.timestamp = packet->SequenceNumber() * m_Ticks; > p.span = m_Ticks; > jitter_buffer_put(m_JitterBuffer, &p); > } > > m_Mutex...
2007 Jul 10
1
In-band user data
pwk.linuxfan@gmx.de wrote: > On Sunday 08 July 2007 02:24, Thorvald Natvig wrote: > >> Next, and slightly unrelated question: >> Why does >> int jitter_buffer_update_delay(JitterBuffer *jitter, JitterBufferPacket >> *packet, spx_int32_t *start_offset); >> include the packet parameter? It's not used in the code, and it also >> makes the API slightly confusing as it's very unclear what that >> parameter should be :) >> > > The packet parameter is included to al...
2008 Mar 29
2
GCC/ELF Visibility patch (fwd)
...buffer */ -void jitter_buffer_destroy(JitterBuffer *jitter) +EXPORT void jitter_buffer_destroy(JitterBuffer *jitter) { jitter_buffer_reset(jitter); speex_free(jitter); @@ -365,7 +365,7 @@ /** Put one packet into the jitter buffer */ -void jitter_buffer_put(JitterBuffer *jitter, const JitterBufferPacket *packet) +EXPORT void jitter_buffer_put(JitterBuffer *jitter, const JitterBufferPacket *packet) { int i,j; int late; @@ -459,7 +459,7 @@ } /** Get one packet from the jitter buffer */ -int jitter_buffer_get(JitterBuffer *jitter, JitterBufferPacket *packet, spx_int32_t desired_span, spx...
2007 Apr 20
0
Problems with the Speex Jitter Buffer
...>> >>> Exit() >>> { >>> jitter_buffer_destroy(m_JitterBuffer); >>> } >>> >>> void BeatJitterBuffer::AddPacket(Packet* packet) >>> { >>> m_Mutex.Aquire(); >>> char buff[320]; >>> JitterBufferPacket p; >>> m_Decoder->DecompressPacket(packet, buff, 320); >>> p.data = buff; >>> p.len = 320; >>> p.timestamp = packet->SequenceNumber() * m_Ticks; >>> p.span = m_Ticks; >>> jitter_buffer_put(m_Jitter...
2007 Mar 08
4
Introduction and patch
Hi, I'm one of the people working on the Rockbox project (http://www.rockbox.org) which is an open source alternative firmware for a range Digital Audio Players. Recently we integrated support for the Speex codec using libspeex and seems to work well. If you could add Rockbox to your list of software that supports Speex, that'd be great. So that's the introduction done. Now for
2006 May 02
0
New jitter.c, bug in speex_jitter_get?
Le mardi 02 mai 2006 ? 18:15 +0200, Thorvald Natvig a ?crit : > Hi. > > After changing my code to construct a JitterBufferPacket and passing that > to speex_jitter_put, my program works with the new jitter buffer using the > wrapper functions (speex_jitter_* instead of the new jitter_buffer_*). Oops, I forgot to make sure I keep the API stable for the old buffer. Any thoughts on the change (revert or continue as is)...
2006 May 03
3
New jitter.c, bug in speex_jitter_get?
>> After changing my code to construct a JitterBufferPacket and passing that >> to speex_jitter_put, my program works with the new jitter buffer using the >> wrapper functions (speex_jitter_* instead of the new jitter_buffer_*). > > Oops, I forgot to make sure I keep the API stable for the old buffer. > Any thoughts on the change (rever...
2007 Mar 08
0
Introduction and patch
...jitter->buf[i][j]; > /* Remove packet */ > speex_free(jitter->buf[i]); > @@ -438,7 +438,7 @@ > /* Let the jitter buffer know it's the right time to adjust the buffering delay to the network conditions */ > int jitter_buffer_update_delay(JitterBuffer *jitter, JitterBufferPacket *packet, spx_uint32_t *start_offset) > { > - int i, j; > + int i; > float late_ratio_short; > float late_ratio_long; > float ontime_ratio_short; > diff -bu ../../../speex/libspeex/kiss_fft.c libspeex/kiss_fft.c > --- ../../../speex/libspeex/kiss_fft.c 2007-0...