cvs commit: src/usr.sbin/mixer mixer.c
Jung-uk Kim
jkim at FreeBSD.org
Fri Mar 14 18:09:48 PDT 2008
jkim 2008-03-15 01:09:47 UTC
FreeBSD src repository
Modified files:
usr.sbin/mixer mixer.c
Log:
- Check device masks and bypass printing headers if capable device does
not exist. /etc/rc.d/mixer tried to restore non-existent recording
source because /var/var/db/mixer*-state contains '=rec' for example.
- Remove hardcoded mixer2 and mixer3 and do the right thing.
- Replace getopt(3) with hand-rolled option parser. It was not able
to handle 'mixer -rec mic' although it is a valid command.
- Make '-s' and '-S' mutualy exclusive as mixer(8) says.
- Do not re-read recording source unless it has been modified.
Revision Changes Path
1.24 +72 -47 src/usr.sbin/mixer/mixer.c
More information about the cvs-src
mailing list