Displaying 2 results from an estimated 2 matches for "pencodedaudioin".
2011 Aug 29
0
First encoded byte, mode bits and wideband bit
...s);
firstbyte = (pEncodedAudioOut[0] >> 3) & 15;
printf("Actual mode: %d \n", firstbyte);
wideband = (pEncodedAudioOut[0] >> 7);
printf("Wideband: %d \n", wideband);
?
?
Decode:
/* Byteblock -> Bitstream */
speex_bits_read_from(&thisDecoder->bits, (i8*) pEncodedAudioIn, (int) thisDecoder->payloadSize);
/* Bitstream -> PCM */
speex_decode_int(thisDecoder->speexDecoderInstance, &thisDecoder->bits, pDecodedAudioOut);
speex_bits_reset(&thisDecoder->bits);
?
?
?
What am I doing wrong??
?
Thanks.
-------------- next part --------------
An HTML a...
2011 Aug 10
2
Correct detection of bitrate
[This email is either empty or too large to be displayed at this time]