search for: speex_resampler_get_input_latency

Displaying 6 results from an estimated 6 matches for "speex_resampler_get_input_latency".

2009 Jul 01
1
Delays estimation in Speex algorithms
...t;>> Actually, why do you separate input and output latency? For >>> a user, resampler is a black-box, which logically has a single >>> latency value. Two latencies are confusing. >> >> You don't sum them, you just get the latency in different units. >> speex_resampler_get_input_latency() will return the latency in input >> samples, while the other will give you the same value, but expressed as >> a number of output samples. >> >> ? ? ? ?Jean-Marc >> > > > > -- > Regards, > Alexander Chemeris. > > SIPez LLC. > SIP VoIP, IM a...
2009 Jun 29
3
Delays estimation in Speex algorithms
Hi, I want to do a careful measure of mic-to-net and net-to-spkr delays in sip media engine and to make it really precise I need to know delays, introduced by Speex algorithms. In particular, I'm interested in delays of: 1) encoder in NB, WB and UWB modes, 2) decoder (I guess it should be 0?) 3) resampler. I think it varies depending on input rate to output rate ratio. Any generic formula or
2009 Jul 01
0
Delays estimation in Speex algorithms
...get overall latency? >> Actually, why do you separate input and output latency? For >> a user, resampler is a black-box, which logically has a single >> latency value. Two latencies are confusing. > > You don't sum them, you just get the latency in different units. > speex_resampler_get_input_latency() will return the latency in input > samples, while the other will give you the same value, but expressed as > a number of output samples. > > ? ? ? ?Jean-Marc > -- Regards, Alexander Chemeris. SIPez LLC. SIP VoIP, IM and Presence Consulting http://www.SIPez.com tel: +1 (617) 27...
2008 Mar 29
0
GCC/ELF Visibility patch
...rState *st, spx_uint32_t stride) { st->out_stride = stride; } -void speex_resampler_get_output_stride(SpeexResamplerState *st, spx_uint32_t *stride) +EXPORT void speex_resampler_get_output_stride(SpeexResamplerState *st, spx_uint32_t *stride) { *stride = st->out_stride; } -int speex_resampler_get_input_latency(SpeexResamplerState *st) +EXPORT int speex_resampler_get_input_latency(SpeexResamplerState *st) { return st->filt_len / 2; } -int speex_resampler_get_output_latency(SpeexResamplerState *st) +EXPORT int speex_resampler_get_output_latency(SpeexResamplerState *st) { return ((st->filt_...
2008 Mar 29
2
GCC/ELF Visibility patch (fwd)
...rState *st, spx_uint32_t stride) { st->out_stride = stride; } -void speex_resampler_get_output_stride(SpeexResamplerState *st, spx_uint32_t *stride) +EXPORT void speex_resampler_get_output_stride(SpeexResamplerState *st, spx_uint32_t *stride) { *stride = st->out_stride; } -int speex_resampler_get_input_latency(SpeexResamplerState *st) +EXPORT int speex_resampler_get_input_latency(SpeexResamplerState *st) { return st->filt_len / 2; } -int speex_resampler_get_output_latency(SpeexResamplerState *st) +EXPORT int speex_resampler_get_output_latency(SpeexResamplerState *st) { return ((st->filt_...
2008 May 03
0
Resampler, memory only variant
....h =================================================================== --- include/speex/speex_resampler.h (revision 14829) +++ include/speex/speex_resampler.h (working copy) @@ -73,6 +73,8 @@ #define speex_resampler_get_output_stride CAT_PREFIX(RANDOM_PREFIX,_resampler_get_output_stride) #define speex_resampler_get_input_latency CAT_PREFIX(RANDOM_PREFIX,_resampler_get_input_latency) #define speex_resampler_get_output_latency CAT_PREFIX(RANDOM_PREFIX,_resampler_get_output_latency) +#define speex_resampler_set_buffer_size CAT_PREFIX(RANDOM_PREFIX,_resampler_set_buffer_size) +#define speex_resampler_get_buffer_size CAT_PREFI...