[Speex-dev] speex_resampler_process_interleaved_float returns NaN

lightshield5375 lightshield5375 at gmail.com
Wed May 15 02:41:40 PDT 2013


Hello all

I using 1.2beta3 on Windows and implementing resampler. Audio signals
are being retrieved by Windows Core Audio API (e.g.
*IAudioCaptureClient::GetBuffer*
<http://msdn.microsoft.com/en-us/library/windows/desktop/dd370859%28v=vs.85%29.aspx>)
that are interleaved 32-bit floating point signals (-1.0 - 1.0).
Then, speex_resampler_process_interleaved_float returns NaN in the
output buffer.
Why does this occur ?

I refered below sample. Can you all give me some correct samples to
treat interleaved floating point signals on libspeexdsp ?
http://svn.xiph.org/trunk/speex/libspeex/testresample.c

Truly Yours.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20130515/0fae28dc/attachment.htm 


More information about the Speex-dev mailing list