arecord is failing with -V stereo
sujith kumar reddy
sujithreddy6192 at gmail.com
Tue Aug 24 11:19:46 CEST 2021
Hi Takashi,
With the above patches -V stereo is working fine.
Thanks
sujith
On Tue, Aug 24, 2021 at 1:42 PM Takashi Iwai <tiwai at suse.de> wrote:
> On Mon, 23 Aug 2021 21:06:05 +0200,
> sujith kumar reddy wrote:
> >
> > Hi Folkert,
> >
> > Tried with the above code.This is also getting p value negative.
> >
> > My point is p is negative it doesn't go to
> >
> > if (p >= bar_length)
> > p = bar_length - 1;
> > it is going to memset second argument p,that is negative so crashing.
>
> Gah, the code there contains lots of craps. A negative value must not
> have been passed there.
>
> Below is a series of fixes. Please give it a try.
>
>
> thanks,
>
> Takashi
>
More information about the Alsa-devel
mailing list