Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Chakravarthi Pradeep <doubleq7@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: Noise in begnning of alsa application
Date: Mon, 21 Jan 2019 21:29:57 +0100	[thread overview]
Message-ID: <s5hva2hycsa.wl-tiwai@suse.de> (raw)
In-Reply-To: <CALW20Z27AZcDWANkgvu5XQMtpWo6EJWOoMCAUV43QrV72qHSBg@mail.gmail.com>

On Mon, 21 Jan 2019 18:46:44 +0100,
Chakravarthi Pradeep wrote:
> 
> On Wed, Jan 16, 2019 at 5:07 PM Chakravarthi Pradeep <doubleq7@gmail.com> wrote:
> >
> > I have ALSA driver for capture device which works fine with VLC. when
> > I try to capture and render using own application having some issues.
> > When I start play, it has some noise in beginning and audio is
> > discontinuous in between. Discontinuous means, some audio frame are
> > getting dropped in between. cut cut sound for sine wave. I have tried
> > snd_pcm_drop and snd_pcm_drain but no use. Kindly suggest how to
> > remove the starting noise in ALSA.
> >
> > For audio rendering i'm using below application.
> > I'm sharing reference render application which my own application is
> > built.
> 
> > https://github.com/bear24rw/alsa-utils/blob/master/aplay/aplay.c

Such behavior is strongly depending on the hardware and the driver
code, so it's almost impossible to debug without the detailed hardware
and kernel information...


thanks,

Takashi

      parent reply	other threads:[~2019-01-21 20:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-16 11:37 Noise in begnning of alsa application Chakravarthi Pradeep
2019-01-16 11:56 ` Chakravarthi Pradeep
2019-01-21 17:46 ` Chakravarthi Pradeep
2019-01-21 18:07   ` Pavel Hofman
2019-01-21 21:07     ` Takashi Iwai
2019-01-21 20:29   ` Takashi Iwai [this message]

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=s5hva2hycsa.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=doubleq7@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox