cvs commit: src/usr.sbin/mixer mixer.c
Jung-uk Kim
jkim at FreeBSD.org
Mon Mar 24 10:49:34 PDT 2008
jkim 2008-03-24 17:49:34 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
usr.sbin/mixer mixer.c
Log:
MFC: 1.24-1.26
- 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.
- Clean up code and fix style(9) nits.
Revision Changes Path
1.22.2.2 +161 -134 src/usr.sbin/mixer/mixer.c
More information about the cvs-src
mailing list