search for: m_resampler_state

Displaying 1 result from an estimated 1 matches for "m_resampler_state".

2010 Nov 10
0
bug fix for speex_resampler_reset_mem?
...;num_samples, &num_channels); SpeexResamplerState *state = speex_resampler_init_frac(num_channels, in_rate, out_rate, in_rate, out_rate, quality, &error); speex_resampler_skip_zeros(state); speex_resampler_process_int(state, 0, input_data, ...) write_waveform(...) speex_resampler_reset_mem(m_resampler_state); speex_resampler_skip_zeros(m_resampler_state); speex_resampler_process_int(state, 0, input_data, ...) write_waveform(...) speex_resampler_destroy(state); When I run it this way, my two output waveforms are not identical on a binary basis. Changing speex_resampler_reset_mem() as follows seems t...