Displaying 1 result from an estimated 1 matches for "input_pnt".
Did you mean:
input_int
2004 Aug 06
2
question on usage of the libraries
...eex_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_frame_siz...