Displaying 2 results from an estimated 2 matches for "input_rate".
Did you mean:
input_range
2009 Mar 17
2
Resample UltraWideBand to NarrowBand
...ut when I use Speex UltraWideBand the Asterisk don't convert it.
Then I need in my Asterisk Channel Source include the Speex Library in
resample this frame in 32KHz to 8KHz.
Searching for it in Speex Doc, I found it:
SpeexResamplerState *resampler;
resampler = speex_resampler_init(nb_channels, input_rate, output_rate,
quality, &err);
err = speex_resampler_process_int(resampler, channelID, in,
&in_length, out, &out_length);
But in my source I have one *dataframe where is my payload. How I can use it
to resample my frame?
Thanks you very much, Thiago.
-------------- next part ----------...
2009 Mar 18
0
Resample UltraWideBand to NarrowBand
...I use Speex UltraWideBand the Asterisk don't convert it.
Then I need in my Asterisk Channel Source include the Speex Library in resample this frame in 32KHz to 8KHz.
Searching for it in Speex Doc, I found it:
SpeexResamplerState *resampler;
resampler = speex_resampler_init(nb_channels, input_rate, output_rate, quality, &err);
err = speex_resampler_process_int(resampler, channelID, in, &in_length, out, &out_length);
But in my source I have one *dataframe where is my payload. How I can use it to resample my frame?
Thanks you very much, Thiago.
--------------------------...