search for: oggpacketcount

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

2008 Jul 11
0
Speex issue
...an't figure out what's wrong with my code. I'm hoping that there's some glaring error that you guys will shout at me for missing. This method is called when enough data has accumulated in inputFrame, after the members have been initialized and the headers have been written: oggPacketCount++; speex_bits_reset(&speexBits); speex_encode_int(encoderState, inputFrame, &speexBits); int packetBytes = speex_bits_write(&speexBits, packetBuffer, PACKET_BUFFER_SIZE); oggPacket.packet = (unsigned char*)packetBuffer; oggPacket.bytes = packetBytes; oggPacket....