All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: Xavi Alexis <xamalek@yahoo.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: ALSA Questions - MUTE and PLAYBACK RATE
Date: Thu, 21 Oct 2010 14:39:46 +0200	[thread overview]
Message-ID: <4CC03492.30908@ladisch.de> (raw)
In-Reply-To: <102125.36145.qm@web120512.mail.ne1.yahoo.com>

Xavi Alexis wrote:
> How do you use the ALSA API to mute the MICROPHONE?
> How do you use the ALSA API to mute the SPEAKER?

These questions assume that "the MICROPHONE" and "the SPEAKER" actually
exist.  However, there are cards that have none, or more than one, or
that cannot be muted, or where the muting isn't controllable by
software.

In the general case, these settings should be controlled by the user
with a mixer application.

What are you trying to do?

> How do you reduce the playback latency or delay?

Reduce the buffer size.  However, this increases the danger of buffer
overruns.

You need low latency only when you are generating sounds in real time in
response to external events.

> I want the audio played as soon as it is read or something close to that.

Does "read" mean "read from disk" or "capture"?


Regards,
Clemens

  reply	other threads:[~2010-10-21 12:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-21 11:16 ALSA Questions - MUTE and PLAYBACK RATE Xavi Alexis
2010-10-21 12:39 ` Clemens Ladisch [this message]
2010-10-21 13:24   ` Xavi Alexis
2010-10-21 15:50     ` Clemens Ladisch

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=4CC03492.30908@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=xamalek@yahoo.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 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.