On Tue, Jan 06, 2009 at 10:40:41PM +0100, Martin Toft wrote:
> On Tue, Jan 06, 2009 at 09:29:37PM +0000, Jacob Meuser wrote:
> > so azalia users please let your voice be heard.  would you find it
> > annoying when playing *only* mono or stereo to have all outputs play
> > the audio, or would you like that?
> 
> Please excuse me if I have interpreted the question wrongly. I would
> like to (continue to) have the possibility to mute my laptop's speakers
> while using headphones. Otherwise other passengers are forced to listen
> to my music when I use the laptop as a portable music player on a bus or
> train.

well, hp/spkr are already like this.

there are a few ways to mute spkr.  not all devices support all methods,
but,

the obvious one:

mixerctl outputs.spkr_mute=on

change the direction of spkr to 'none':

mixerctl outputs.spkr_dir=none

set it's source to something that it muted:

mixerctl outputs.mix3_source=   # mutes all inputs to mix3
mixerctl outputs.spkr_source=mix3

there may even be others.  if your hp jack is capable of sending
unsolicited responses then one of the first two is done more or less
automaticly when hp is plugged.  also some devices do automatic muting
completely in hardware.

-- 
[email protected]
SDF Public Access UNIX System - http://sdf.lonestar.org

Reply via email to