search for: speex_major

Displaying 4 results from an estimated 4 matches for "speex_major".

2010 Apr 10
2
Is Speex 1.0 and >=1.1 compatible?
...} } return count; } /* AudioEncoderSpeex::writeSamples */ The decoder have looked like this for quite a while: void AudioDecoderSpeex::writeEncodedSamples(void *buf, int size) { char *ptr = (char *)buf; speex_bits_read_from(&bits, ptr, size); float samples[frame_size]; #if SPEEX_MAJOR > 1 || (SPEEX_MAJOR == 1 && SPEEX_MINOR >= 1) while (speex_decode(dec_state, &bits, samples) == 0) #else while ((speex_decode(dec_state, &bits, samples) == 0) && (speex_bits_remaining(&bits) > 0)) #endif { for (int i=0; i<frame_size; ++i)...
2010 Apr 11
2
Is Speex 1.0 and >=1.1 compatible?
...r quite a while: > > > > void AudioDecoderSpeex::writeEncodedSamples(void *buf, int size) > > { > > > > char *ptr = (char *)buf; > > > > speex_bits_read_from(&bits, ptr, size); > > float samples[frame_size]; > > > > #if SPEEX_MAJOR> 1 || (SPEEX_MAJOR == 1&& SPEEX_MINOR>= 1) > > > > while (speex_decode(dec_state,&bits, samples) == 0) > > > > #else > > > > while ((speex_decode(dec_state,&bits, samples) == 0)&& > > > > (speex_b...
2010 Apr 10
0
Is Speex 1.0 and >=1.1 compatible?
...Samples */ > > > > The decoder have looked like this for quite a while: > > void AudioDecoderSpeex::writeEncodedSamples(void *buf, int size) > { > char *ptr = (char *)buf; > > speex_bits_read_from(&bits, ptr, size); > float samples[frame_size]; > #if SPEEX_MAJOR> 1 || (SPEEX_MAJOR == 1&& SPEEX_MINOR>= 1) > while (speex_decode(dec_state,&bits, samples) == 0) > #else > while ((speex_decode(dec_state,&bits, samples) == 0)&& > (speex_bits_remaining(&bits)> 0)) > #endif > { > f...
2010 Apr 11
0
Is Speex 1.0 and >=1.1 compatible?
...gt; >>> void AudioDecoderSpeex::writeEncodedSamples(void *buf, int size) >>> { >>> >>> char *ptr = (char *)buf; >>> >>> speex_bits_read_from(&bits, ptr, size); >>> float samples[frame_size]; >>> >>> #if SPEEX_MAJOR> 1 || (SPEEX_MAJOR == 1&& SPEEX_MINOR>= 1) >>> >>> while (speex_decode(dec_state,&bits, samples) == 0) >>> >>> #else >>> >>> while ((speex_decode(dec_state,&bits, samples) == 0)&& >>> >>&g...