[LAD] Zita Resampler unexpected output

André Garnier Coutinho andre_coutinho at rocketmail.com
Wed Feb 12 20:29:24 UTC 2014


Hey guys,

I've read the API documentation and I realize that I wasn't completing the
input buffer with some zeros. So, I tried to add those zeros, but I'm still
having an unexpected output.

I'm attaching the code that I wrote, I would be very happy if anyone could
say what I am doing wrong.

greets,

André



2014-02-07 21:50 GMT-02:00 Fons Adriaensen <fons at linuxaudio.org>:

> On Sat, Feb 08, 2014 at 12:00:56AM +0100, Robin Gareus wrote:
>
> > I'm sorry. It turns out, I only got this half right (wrong number of
> > samples to line things up). Just read the API documenation, explains it
> > all:
> >
> http://kokkinizita.linuxaudio.org/linuxaudio/zita-resampler/resampler.html
>
> I've just updated this with the latest version (which comes
> with the sources as well).
>
> Indeed, the API documentation explains it all.
>
> Ciao,
>
> --
> FA
>
> A world of exhaustive, reliable metadata would be an utopia.
> It's also a pipe-dream, founded on self-delusion, nerd hubris
> and hysterically inflated market opportunities. (Cory Doctorow)
>
> _______________________________________________
> Linux-audio-dev mailing list
> Linux-audio-dev at lists.linuxaudio.org
> http://lists.linuxaudio.org/listinfo/linux-audio-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20140212/6ca632c6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cpp
Type: text/x-c++src
Size: 2147 bytes
Desc: not available
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20140212/6ca632c6/attachment.cpp>


More information about the Linux-audio-dev mailing list