Displaying 3 results from an estimated 3 matches for "tempoutput".
Did you mean:
compoutput
2006 May 21
2
Re: High pitched whine with Speex
...t;dec_state=speex_decoder_init(&speex_nb_mode);
speex_decoder_ctl(channel->dec_state, SPEEX_GET_FRAME_SIZE,
&channel->speexIncomingFrameSampleCount);
ENCODING:
speex_encode(channel->enc_state, (float *) inputBuffer, &speexBits);
bytesWritten = speex_bits_write(&speexBits, tempOutput+1, 2048-1);
DECODING:
speex_bits_read_from(&speexBits, (char*)(packet->data+1), packet->length-1);
speex_decode(channel->dec_state, &speexBits, (float*)tempOutput);
That's pretty much the extent of the Speex code. For the output, I
write all 0.0 to the buffer first, then ad...
2006 May 21
3
Re: High pitched whine with Speex
...gt;> speex_decoder_ctl(channel->dec_state, SPEEX_GET_FRAME_SIZE,
>> &channel->speexIncomingFrameSampleCount);
>>
>> ENCODING:
>> speex_encode(channel->enc_state, (float *) inputBuffer, &speexBits);
>> bytesWritten = speex_bits_write(&speexBits, tempOutput+1, 2048-1);
>>
>> DECODING:
>> speex_bits_read_from(&speexBits, (char*)(packet->data+1),
>> packet->length-1);
>> speex_decode(channel->dec_state, &speexBits, (float*)tempOutput);
>>
>> That's pretty much the extent of the Speex code....
2006 May 21
0
Re: High pitched whine with Speex
...(&speex_nb_mode);
> speex_decoder_ctl(channel->dec_state, SPEEX_GET_FRAME_SIZE,
> &channel->speexIncomingFrameSampleCount);
>
> ENCODING:
> speex_encode(channel->enc_state, (float *) inputBuffer, &speexBits);
> bytesWritten = speex_bits_write(&speexBits, tempOutput+1, 2048-1);
>
> DECODING:
> speex_bits_read_from(&speexBits, (char*)(packet->data+1), packet-
> >length-1);
> speex_decode(channel->dec_state, &speexBits, (float*)tempOutput);
>
> That's pretty much the extent of the Speex code. For the output, I
> w...