Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Aug 1999 23:08:56 +0400 (MSD)
From:      Osokin Sergey <osa@etrust.ru>
To:        "Brian F. Feldman" <green@FreeBSD.ORG>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: rc addition proposal: mixer
Message-ID:  <Pine.BSF.4.10.9908082259160.458-100000@ozz.etrust.ru>
In-Reply-To: <Pine.BSF.4.10.9908080830410.38017-100000@janus.syracuse.net>

next in thread | previous in thread | raw e-mail | index | archive | help


On Sun, 8 Aug 1999, Brian F. Feldman wrote:

> I envision something like the following being available in /etc/rc,
> since there are many people who set mixer default values at startup in
> some random way. It would be nice to provide an easy way to do this.
> I'd like to get a vote on whether this should be added or not.
> 
> I'd do something like the following:
> 
> if [ -n "$mixer_device" ]; do
> 	mixer="mixer -f $mixer_device"
> else
> 	mixer="mixer"
> done
> for cf in `$mixer | cut -d' ' -f2` recsrc; do
> 	if eval [ -n "mixer_$cf" ]; then
> 		eval \$mixer \$cf \$mixer_$cf
> 	fi
> done
> 
Now in current i use following script (aka mixer.sh) for install sound
environment:

#!/bin/sh
mixer vol 36
mixer synth 36
mixer pcm 36
mixer line 36
mixer cd 68

Maybe add to rc.conf all features of mixer?
(aka vol, bass & etc)

Rgdz,
Osokin Sergey aka oZZ,
osa@etrust.ru



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9908082259160.458-100000>