Date: Mon, 24 Mar 2008 17:49:34 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/mixer mixer.c Message-ID: <200803241749.m2OHnYIE068504@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803241749.m2OHnYIE068504>
