Displaying 1 result from an estimated 1 matches for "_speex".
Did you mean:
speex
2010 Feb 26
2
Decoding multiple frames
Hi all,
I'm using speex through my own python wrapper based on ctypes. In my application I'm forced to process relatively large chunks of audio data (250ms). I was able to supply sufficiently large buffer to the SpeexBits structure and then encode using (code snippet)
_speex.speex_bits_reset(byref(self.bits))
for i in range(0, len - self.frameSize, self.frameSize):
_speex.speex_encode_int( ... )
N2 = _speex.speex_bits_write( ... )
However, when I receive the encoded chunk at the decoder side, I don't know how large the output buffer sh...