[Speex-dev] Resample UltraWideBand to NarrowBand
malufrj at gmail.com
Tue Mar 17 13:59:40 PDT 2009
Now I will send to you more specific what I am trying to do.
I have one Asterisk Channel where receives Midia Frames in the codecs
format: Speex UltraWideBand and Speex NarrowBand.
When I use Speex NarrowBand the Asterisk is able to convert this frame to
But 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:
resampler = speex_resampler_init(nb_channels, input_rate, output_rate,
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 --------------
An HTML attachment was scrubbed...
More information about the Speex-dev