Displaying 1 result from an estimated 1 matches for "m_oggpag".
Did you mean:
m_oggpage
2002 Mar 27
1
What exactly is threadsafe
...rate_flushpacket( &m_vorbisDsp, &m_oggPacket ) ) {
/* weld the packet into the bitstream */
ogg_stream_packetin( &m_oggStream, &m_oggPacket );
writePage();
}
}
**Write Page looks like this**:
int result;
result = ogg_stream_pageout( &m_oggStream, &m_oggPage );
while( result != 0 ) {
m_sink->write( (char*)m_oggPage.header, m_oggPage.header_len );
m_sink->write( (char*)m_oggPage.body, m_oggPage.body_len );
result = ogg_stream_pageout( &m_oggStream, &m_oggPage );
}
I would like to be able to call the initialization func...