search for: in_rate

Displaying 3 results from an estimated 3 matches for "in_rate".

2008 Mar 29
0
GCC/ELF Visibility patch
...est, ptr); } Index: libspeex/resample.c =================================================================== --- libspeex/resample.c (revision 14645) +++ libspeex/resample.c (working copy) @@ -721,12 +721,12 @@ } -SpeexResamplerState *speex_resampler_init(spx_uint32_t nb_channels, spx_uint32_t in_rate, spx_uint32_t out_rate, int quality, int *err) +EXPORT SpeexResamplerState *speex_resampler_init(spx_uint32_t nb_channels, spx_uint32_t in_rate, spx_uint32_t out_rate, int quality, int *err) { return speex_resampler_init_frac(nb_channels, in_rate, out_rate, in_rate, out_rate, quality, err); }...
2008 Mar 29
2
GCC/ELF Visibility patch (fwd)
...est, ptr); } Index: libspeex/resample.c =================================================================== --- libspeex/resample.c (revision 14645) +++ libspeex/resample.c (working copy) @@ -721,12 +721,12 @@ } -SpeexResamplerState *speex_resampler_init(spx_uint32_t nb_channels, spx_uint32_t in_rate, spx_uint32_t out_rate, int quality, int *err) +EXPORT SpeexResamplerState *speex_resampler_init(spx_uint32_t nb_channels, spx_uint32_t in_rate, spx_uint32_t out_rate, int quality, int *err) { return speex_resampler_init_frac(nb_channels, in_rate, out_rate, in_rate, out_rate, quality, err); }...
2010 Nov 10
0
bug fix for speex_resampler_reset_mem?
...in my project, and was testing it by processing the same waveform twice, with a reset() call in the middle, as follows: short *input_data = read_waveform_as_linear(infileName, &rate, &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_...