Displaying 1 result from an estimated 1 matches for "tempdecod".
Did you mean:
tempdecode
2005 Feb 22
1
Win CE playback error
...60; i++);
{
TempEncode[i] = buffer[i];
}
speex_encode_int(enc_state, TempEncode, &bits);
char encode[200];
int nbBytes = speex_bits_write(&bits, encode, 200);
speex_encoder_destroy(enc_state);
speex_bits_reset(&bits);
speex_bits_read_from(&bits, encode, nbBytes);
short TempDecode[160];
speex_decode_int(dec_state, &bits, TempDecode);
//Declare an unsigned char buffer2
// Convert from short back to unsigned char for playback
unsigned char buffer2[160];
for (i=0; i<160; i++);
{
buffer2[i] = TempDecode[i];
}
speex_bits_destroy(&bits);
speex_decoder_destroy(dec_sta...