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.
On 02/12/2014 09:29 PM, André Garnier Coutinho wrote:
[..]
over.inp_data = 0;
[..]
You cannot use a NULL pointer. It needs to point to an array filled with
zeroes.
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
On 02/12/2014 09:34 PM, Robin Gareus wrote:
On 02/12/2014 09:29 PM, André Garnier Coutinho wrote:
[..]
over.inp_data = 0;
[..]
You cannot use a NULL pointer. It needs to point to an array filled with
zeroes.
mmh. I'm sorry.
I was too quck and wrong, again :(
On Wed, Feb 12, 2014 at 09:34:14PM +0100, Robin Gareus wrote:
On 02/12/2014 09:29 PM, André Garnier Coutinho wrote:
[..]
over.inp_data = 0;
[..]
You cannot use a NULL pointer. It needs to point to an array filled with
zeroes.
Wrong, you *can* use a NULL pointer.
TRY1 _looks_ OK to me,
On Wed, Feb 12, 2014 at 09:37:01PM +0100, Robin Gareus wrote:
/me crawls back under his stone.
(C) stackingdwarves.net IIRC :-)
--
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
On Wed, Feb 12, 2014 at 06:29:24PM -0200, André Garnier Coutinho wrote:
I'm attaching the code that I wrote, I would be very happy if anyone could
say what I am doing wrong.
#ifdef TRY1
int z1 = over.inpsize()/2 - 1;
int z2 = over.inpsize()/2;
over.inp_count = z1;