Displaying 2 results from an estimated 2 matches for "pencodedaudioout".
2011 Aug 29
0
First encoded byte, mode bits and wideband bit
...et(&thisEncoder->bits);
/* PCM -> Bitstream */
speex_encode_int(thisEncoder->speexEncoderInstance, pAudiodataIn, &thisEncoder->bits);
/* Bitstream -> Byteblock */
nBytes = speex_bits_nbytes(&thisEncoder->bits);
nBytes = speex_bits_write(&thisEncoder->bits, (i8*) pEncodedAudioOut, nBytes);
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,...
2011 Aug 10
2
Correct detection of bitrate
[This email is either empty or too large to be displayed at this time]