search for: m_vorbisblock

Displaying 1 result from an estimated 1 matches for "m_vorbisblock".

2002 Mar 27
1
What exactly is threadsafe
...tly is threadsafe in vorbis? So here are the functions that would be called from many threads of with buffer = vorbis_analysis_buffer( &m_vorbisDsp, 4*DATA_CHUNK_SIZE ); vorbis_analysis_wrote( &m_vorbisDsp, dataLength/dataSize ); while( vorbis_analysis_blockout( &m_vorbisDsp, &m_vorbisBlock ) == 1 ) { /* analysis, assume we want to use bitrate management */ vorbis_analysis( &m_vorbisBlock, NULL ); vorbis_bitrate_addblock( &m_vorbisBlock ); while( vorbis_bitrate_flushpacket( &m_vorbisDsp, &m_oggPacket ) ) { /* weld the packet into the bitstream */...