summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mixer/mixer.c
Commit message (Collapse)AuthorAgeFilesLines
* Add the -S flag which produces the -s output withoutmdodd2005-04-131-9/+19
| | | | mixing field separators.
* Userland signed char fixes for PPC build. Problems were using a chargrehan2004-01-221-1/+1
| | | | | | | | | return for getopt() and comparing to -1, ditto with fgetc() and EOF, and using the kg_nice value from <sys/user.h> Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> Reviewed by: obrien, bde (a while back) Tested lightly on: ppc, i386, make universe
* Print out the current recording devices in the default printout.grog2003-06-151-3/+9
| | | | | | | | Discussed with: cg Break some particularly long lines. Still not enough for: bde.
* Use __FBSDID over rcsid[]. Protect copyright[] where needed.obrien2003-05-031-4/+2
|
* Implement relative mixer adjustment.mdodd2003-04-091-8/+34
| | | | PR: 46679 (similar functionality)
* Print old mixer levels when setting new ones.jmallett2002-12-301-2/+8
|
* Constify and set WARNS=2.dd2001-06-251-1/+1
| | | | | Submitted by: Mike Barcroft <mike@q9media.com Reviewed by: md5(1)
* Change the behaviour of mixer slightly such that not explicitly specifyinggreid2001-04-091-4/+7
| | | | | | | | a mixer device will set/get the master volume levels PR: 25156 Submitted by: Tony Finch <dot@dotat.at> Reviewed by: cg, nik
* Fix format string warningskris2000-11-271-3/+3
|
* Several cleanups:sobomax2000-08-151-20/+29
| | | | | | | - use getopt(3) to parse command line arguments instead of home-made incomplete parser; - be more verbose when error in command line encountered (i.e. incorrect playing/recording device, incorrect recsrc syntax).
* I've always wanted to be able to dump out the current values ofjkh2000-05-201-5/+15
| | | | | | the mixer in a format suitable for saving and handing off to mixer(1) at some future date to restore the settings. Add a -s flag to do this.
* remove #ifdef FreeBSD -> <machine/soundcard.h> special case as we have itpeter1999-09-041-4/+0
| | | | in the standard location now.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* fix a core dump problem when you don't give -f a parameter... also comparejmg1998-05-071-2/+2
| | | | | | results of strcmp against 0 instead of !'ing results... Closes PR: 6538
* According to Bruce, err(-1,..) is bogus. Change it to err(1,..). More commitscharnier1997-10-011-6/+6
| | | | to come in this area.
* Use err(3).charnier1997-09-291-29/+23
|
* Compact usage string, devices list can be too longache1997-09-231-2/+2
|
* major modifications to the mixer. currently it doesn't report errorsjmg1997-09-191-78/+143
| | | | | | | | that it encounters (such as invalid device), but does print usage upon this error... but otherwise allows complex commands such as: mixer -f /dev/mixer4 synth line 50 -rec mic +rec line =rec cd ^rec mix
* Make mixer print out all of the current mixer settings by defualtmpp1996-01-311-0/+16
| | | | | instead of making the user run a separate command for each setting they are interested in. Closes PR#432.
* Fixed to not core dump if not enough arguments are givenmpp1996-01-151-0/+4
| | | | with the +rec and -rec options.
* Remove trailing whitespace.rgrimes1995-05-301-6/+6
|
* non-X mixer, useful into rc.localache1995-02-151-0/+154
OpenPOWER on IntegriCloud