* ALSA Questions - MUTE and PLAYBACK RATE
@ 2010-10-21 11:16 Xavi Alexis
2010-10-21 12:39 ` Clemens Ladisch
0 siblings, 1 reply; 4+ messages in thread
From: Xavi Alexis @ 2010-10-21 11:16 UTC (permalink / raw)
To: alsa-devel
Hello ALSA people,
How do you use the ALSA API to mute the MICROPHONE?
How do you use the ALSA API to mute the SPEAKER?
How do you reduce the playback latency or delay? I am reading my audio and I
notice that there is a delay ... or some kind of latency. I want the audio
played as soon as it is read or something close to that.
Thanks,
X
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ALSA Questions - MUTE and PLAYBACK RATE
2010-10-21 11:16 ALSA Questions - MUTE and PLAYBACK RATE Xavi Alexis
@ 2010-10-21 12:39 ` Clemens Ladisch
2010-10-21 13:24 ` Xavi Alexis
0 siblings, 1 reply; 4+ messages in thread
From: Clemens Ladisch @ 2010-10-21 12:39 UTC (permalink / raw)
To: Xavi Alexis; +Cc: alsa-devel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ALSA Questions - MUTE and PLAYBACK RATE
2010-10-21 12:39 ` Clemens Ladisch
@ 2010-10-21 13:24 ` Xavi Alexis
2010-10-21 15:50 ` Clemens Ladisch
0 siblings, 1 reply; 4+ messages in thread
From: Xavi Alexis @ 2010-10-21 13:24 UTC (permalink / raw)
To: Clemens Ladisch; +Cc: alsa-devel
Thank you Clemens for your answers:
A few more questions:
What is the SPECIFIC function to reduce the BUFFER size?
When I say read ... I am reading the data over a socket ...
Thanks again.
x
________________________________
From: Clemens Ladisch <clemens@ladisch.de>
To: Xavi Alexis <xamalek@yahoo.com>
Cc: alsa-devel@alsa-project.org
Sent: Thu, October 21, 2010 5:39:46 AM
Subject: Re: [alsa-devel] ALSA Questions - MUTE and PLAYBACK RATE
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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-10-21 15:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-21 11:16 ALSA Questions - MUTE and PLAYBACK RATE Xavi Alexis
2010-10-21 12:39 ` Clemens Ladisch
2010-10-21 13:24 ` Xavi Alexis
2010-10-21 15:50 ` Clemens Ladisch
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.