Date: Sat, 15 Mar 2008 01:09:47 +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: <200803150109.m2F19lsV061536@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803150109.m2F19lsV061536>
