search for: speex_bits_append_from

Displaying 2 results from an estimated 2 matches for "speex_bits_append_from".

2004 Aug 06
2
API suggestions
...uld append the bytes passed into it to the bytes already in the buffer instead of replacing the buffer contents. The intended use would be for streaming sources that bring in data in small portions (smaller than an encoded frame). This way the speex_bits could be used as a buffer. Suggested name: speex_bits_append_from(). Or alternatively a flag passed into speex_bits_read_from() signalling whether to append or to replace. <p>*** Querying the codec if there's enough data for a full frame decode and verifying the bitstream It appears there is no way to tell in advance if the decoder has enough info...
2004 Aug 06
0
API suggestions
...to the bytes already in the buffer instead of > replacing the buffer contents. > > The intended use would be for streaming sources that bring > in data in small portions (smaller than an encoded frame). > This way the speex_bits could be used as a buffer. > > Suggested name: speex_bits_append_from(). Or alternatively > a flag passed into speex_bits_read_from() signalling whether > to append or to replace. If I understand what you said correctly, there is such a call: speex_bits_read_whole_bytes, which adds a couple byte to the SpeexBits struct while removing the ones that have already...