Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: Ankhit Vivekananda <ankhit.vivekananda@biscotti.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: Use of snd_pcm_format_set_silence
Date: Thu, 21 Jan 2016 08:43:11 +0100	[thread overview]
Message-ID: <56A08C0F.8070902@ladisch.de> (raw)
In-Reply-To: <CACaQK7ARzW=LJ3Xo5=Qyh42uyR96Pbo_SFGOfCh3j6ZozobjcA@mail.gmail.com>

Ankhit Vivekananda wrote:
> the snd_pcm_format_set_silence() would simply /replace/ the actual
> buffer read from snd_pcm_readi() to zeros(since my application is
> using signed 32 bit little endian format).

Yes.

> There would be no delay induced in doing so.

Yes; this function does not block.


Regards,
Clemens

  reply	other threads:[~2016-01-21  7:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-20 21:18 Use of snd_pcm_format_set_silence Ankhit Vivekananda
2016-01-20 21:56 ` Clemens Ladisch
2016-01-20 22:17   ` Ankhit Vivekananda
2016-01-21  7:43     ` Clemens Ladisch [this message]
2016-01-21 16:29       ` Ankhit Vivekananda

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=56A08C0F.8070902@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=ankhit.vivekananda@biscotti.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