Displaying 1 result from an estimated 1 matches for "in_float".
Did you mean:
i16_float
2004 Aug 06
2
question on usage of the libraries
...speex_encoder_ctl(libspeex_enc_state, SPEEX_GET_FRAME_SIZE,
&libspeex_frame_size);
compression:
while(n_samples_todo > 0)
{
int cur_n_bytes_out;
speex_bits_reset(&libspeex_bits);
speex_encode(libspeex_enc_state, &in_float[input_pnt],
&libspeex_bits);
cur_n_bytes_out = speex_bits_nbytes(&libspeex_bits);
speex_bits_write(&libspeex_bits, &(*data_out)[output_pnt],
cur_n_bytes_out)
output_pnt += cur_n_bytes_out;
input_pnt += libspeex...