All of lore.kernel.org
 help / color / mirror / Atom feed
From: sujith kumar reddy <sujithreddy6192@gmail.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org, folkert <folkert@vanheusden.com>
Subject: Re: arecord is failing with -V stereo
Date: Tue, 24 Aug 2021 14:49:46 +0530	[thread overview]
Message-ID: <CAAd2w=ZEFrnwC0fdMKUUpaU1XhYztZD-RHECf88+u+H+MNU=hQ@mail.gmail.com> (raw)
In-Reply-To: <s5heeaj2rcr.wl-tiwai@suse.de>

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@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
>

  reply	other threads:[~2021-08-24  9:23 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-19 18:04 arecord is failing with -V stereo sujith kumar reddy
2021-08-19 18:34 ` folkert
2021-08-19 18:43   ` sujith kumar reddy
2021-08-19 19:06     ` folkert
2021-08-23 16:31       ` sujith kumar reddy
2021-08-23 17:03         ` folkert
2021-08-23 18:44           ` sujith kumar reddy
2021-08-23 18:47             ` folkert
2021-08-23 19:06               ` sujith kumar reddy
2021-08-23 19:08                 ` folkert
2021-08-23 19:33                   ` sujith kumar reddy
2021-08-23 20:16                     ` folkert
2021-08-24  1:15                       ` sujith kumar reddy
2021-08-24  6:11                         ` sujith kumar reddy
2021-08-24  8:12                 ` Takashi Iwai
2021-08-24  9:19                   ` sujith kumar reddy [this message]
2021-08-24  9:50                     ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2021-08-17  8:38 sujith kumar reddy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAAd2w=ZEFrnwC0fdMKUUpaU1XhYztZD-RHECf88+u+H+MNU=hQ@mail.gmail.com' \
    --to=sujithreddy6192@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=folkert@vanheusden.com \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.