search for: m_mutex

Displaying 8 results from an estimated 8 matches for "m_mutex".

Did you mean: i_mutex
2007 Apr 18
3
Problems with the Speex Jitter Buffer
...where i am using the JitterBuffer wrong. Many thanks 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,...
2007 Apr 20
2
Problems with the Speex Jitter Buffer
...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.spa...
2007 Apr 20
0
Problems with the Speex Jitter Buffer
...gt; > > > 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; > jit...
2007 Apr 20
0
Problems with the Speex Jitter Buffer
...s); >>> 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_Tick...
2013 Jul 02
2
About Decode Streaming
...o much for polite help Martijn. Allison, My read callback function is just ; * /// \brief read callback function of decoder* * FLAC__StreamDecoderReadStatus decoderReadCallback( const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t *bytes, void *callback_param)* * {* * // mutex lock* * m_mutex.lock();* * * * // copy buffer array to m_pile_array* * if(input_pile_size > 0) {* * memcpy(input_pile_array, buffer, input_pile_size);* * *bytes = input_pile_size;// = 0;* * * * // mutex unlock* * m_mutex.unlock();* * * * return FLAC__STREAM_DECODER_READ_STATUS_CONTINUE;* * }* * * * // mutex unl...
2013 Jul 02
3
About Decode Streaming
Yes, I have tried plain wav data with file and stream functions of decoder and encoder. They work succesfully. You're right about FLAC can't find the first block in stream, because I didn't add any metadata in stream. The documentation of FLAC says that metadata callback function is optional for stream function of decoder, so I didn't need adding metadata. Actually, I am sure
2013 Dec 25
2
[LLVMdev] http://llvm.org/apt/ with 'old' gcc: Request for comments
..../include/lldb/Utility/Iterable.h:197:22: sorry, unimplemented: non-static data member initializers /tmp/buildd/llvm-toolchain-snapshot-3.5~svn197872/tools/lldb/source/../include/lldb/Utility/Iterable.h:197:22: error: 'constexpr' needed for in-class initialization of static data member 'm_mutex' of non-integral type or fails to link with: http://llvm.org/bugs/show_bug.cgi?id=18077 [4] http://llvm.org/bugs/show_bug.cgi?id=18272
2013 Dec 26
2
[LLVMdev] [cfe-dev] http://llvm.org/apt/ with 'old' gcc: Request for comments
...7:22: > sorry, unimplemented: non-static data member initializers > /tmp/buildd/llvm-toolchain-snapshot-3.5~svn197872/tools/lldb/source/../include/lldb/Utility/Iterable.h:197:22: > error: 'constexpr' needed for in-class initialization of static data > member 'm_mutex' of non-integral type > or fails to link with: > http://llvm.org/bugs/show_bug.cgi?id=18077 > [4] http://llvm.org/bugs/show_bug.cgi?id=18272 > > _______________________________________________ > cfe-dev mailing list > cfe-dev at cs.uiuc.edu <mailt...