aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/mixer
Commit message (Collapse)AuthorAgeFilesLines
* mixer(8) is WARNS=6 clean since 1.25.Jung-uk Kim2008-03-161-1/+1
| | | | | | | Tested with: 'make universe' Notes: svn path=/head/; revision=177251
* Fix a typo.Jung-uk Kim2008-03-151-1/+1
| | | | Notes: svn path=/head/; revision=177198
* Clean up code and fix style(9) nits.Jung-uk Kim2008-03-151-100/+102
| | | | Notes: svn path=/head/; revision=177197
* Update list of possible mixer devices. These devices were added toJung-uk Kim2008-03-151-2/+3
| | | | | | | soundcard.h more than ten years ago. Notes: svn path=/head/; revision=177196
* - Check device masks and bypass printing headers if capable device doesJung-uk Kim2008-03-151-48/+73
| | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=177195
* o Add "line" device to a list of mixer(8) devices.Maxim Konovalov2007-05-091-1/+1
| | | | | | | | | PR: docs/112520 Submitted by: Pietro Cerutti MFC after: 1 week Notes: svn path=/head/; revision=169403
* - Fix possible memory leak due to repetetive strdup(3) without matchingAriff Abdullah2006-01-011-14/+21
| | | | | | | | | | | | | free(3). - print_recsrc() should honor shortflag and give appropriate output for later consumption by /etc/rc.d/mixer. This will ensure that recording device selections survived across reboot. Output everything to stdout instead if stderr. MFC after: 3 days Notes: svn path=/head/; revision=153953
* Markup fixes.Ruslan Ermilov2005-06-141-4/+4
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=147377
* Add the -S flag which produces the -s output withoutMatthew N. Dodd2005-04-132-12/+26
| | | | | | | mixing field separators. Notes: svn path=/head/; revision=144999
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-4/+8
| | | | Notes: svn path=/head/; revision=131500
* Removed trailing whitespace.Ruslan Ermilov2004-07-021-1/+1
| | | | Notes: svn path=/head/; revision=131472
* Userland signed char fixes for PPC build. Problems were using a charPeter Grehan2004-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 Notes: svn path=/head/; revision=124830
* Document changes to default output.Greg Lehey2003-06-151-6/+7
| | | | Notes: svn path=/head/; revision=116389
* Print out the current recording devices in the default printout.Greg Lehey2003-06-151-3/+9
| | | | | | | | | | | Discussed with: cg Break some particularly long lines. Still not enough for: bde. Notes: svn path=/head/; revision=116388
* Assorted mdoc(7) fixes.Ruslan Ermilov2003-05-221-8/+16
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=115221
* Use __FBSDID over rcsid[]. Protect copyright[] where needed.David E. O'Brien2003-05-031-4/+2
| | | | Notes: svn path=/head/; revision=114601
* Implement relative mixer adjustment.Matthew N. Dodd2003-04-092-13/+51
| | | | | | | PR: 46679 (similar functionality) Notes: svn path=/head/; revision=113299
* Print old mixer levels when setting new ones.Juli Mallett2002-12-301-2/+8
| | | | Notes: svn path=/head/; revision=108421
* The .Nm utilityPhilippe Charnier2002-07-141-2/+2
| | | | Notes: svn path=/head/; revision=99968
* Perform a major cleanup of the usr.sbin Makefiles.David E. O'Brien2001-07-201-1/+2
| | | | | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before. Notes: svn path=/head/; revision=80029
* Remove whitespace at EOL.Dima Dorfman2001-07-151-3/+3
| | | | Notes: svn path=/head/; revision=79755
* Constify and set WARNS=2.Dima Dorfman2001-06-252-2/+3
| | | | | | | | Submitted by: Mike Barcroft <mike@q9media.com Reviewed by: md5(1) Notes: svn path=/head/; revision=78778
* Change the behaviour of mixer slightly such that not explicitly specifyingGeorge C A Reid2001-04-092-5/+10
| | | | | | | | | | | a mixer device will set/get the master volume levels PR: 25156 Submitted by: Tony Finch <dot@dotat.at> Reviewed by: cg, nik Notes: svn path=/head/; revision=75334
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74816
* Set the default manual section for usr.sbin/ to 8.Ruslan Ermilov2001-03-201-1/+0
| | | | Notes: svn path=/head/; revision=74532
* mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-011-10/+15
| | | | Notes: svn path=/head/; revision=71898
* Fix format string warningsKris Kennaway2000-11-271-3/+3
| | | | Notes: svn path=/head/; revision=69258
* mdoc(7) police: do not split author names in the AUTHORS section.Ruslan Ermilov2000-11-221-0/+1
| | | | Notes: svn path=/head/; revision=69027
* Several cleanups:Maxim Sobolev2000-08-152-25/+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). Notes: svn path=/head/; revision=64657
* I've always wanted to be able to dump out the current values ofJordan K. Hubbard2000-05-202-5/+23
| | | | | | | | | 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. Notes: svn path=/head/; revision=60741
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-011-1/+2
| | | | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. Notes: svn path=/head/; revision=57673
* Remove xrefs to obosolete cdplay(1)Nik Clayton2000-03-011-2/+1
| | | | | | | | PR: docs/17079 Submitted by: Udo Erdelhoff <ue@nathan.ruhr.de> Notes: svn path=/head/; revision=57661
* Terminate .Bl with .ElPhilippe Charnier1999-11-271-1/+2
| | | | Notes: svn path=/head/; revision=53759
* Spelling fix.Mike Pritchard1999-10-301-1/+1
| | | | | | | | PR: bin/14588 Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de> Notes: svn path=/head/; revision=52686
* remove #ifdef FreeBSD -> <machine/soundcard.h> special case as we have itPeter Wemm1999-09-041-4/+0
| | | | | | | in the standard location now. Notes: svn path=/head/; revision=50912
* $Id$ -> $FreeBSD$Peter Wemm1999-08-283-3/+3
| | | | Notes: svn path=/head/; revision=50479
* Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-07-121-0/+2
| | | | | | | | | | | | | | | | | | | | track. The Id line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde Notes: svn path=/head/; revision=48791
* fix a core dump problem when you don't give -f a parameter... also compareJohn-Mark Gurney1998-05-071-2/+2
| | | | | | | | | results of strcmp against 0 instead of !'ing results... Closes PR: 6538 Notes: svn path=/head/; revision=35828
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.Philippe Charnier1998-03-231-3/+3
| | | | Notes: svn path=/head/; revision=34809
* According to Bruce, err(-1,..) is bogus. Change it to err(1,..). More commitsPhilippe Charnier1997-10-011-6/+6
| | | | | | | to come in this area. Notes: svn path=/head/; revision=30028
* Use err(3).Philippe Charnier1997-09-292-36/+31
| | | | Notes: svn path=/head/; revision=29963
* Compact usage string, devices list can be too longAndrey A. Chernov1997-09-231-2/+2
| | | | Notes: svn path=/head/; revision=29753
* major modifications to the mixer. currently it doesn't report errorsJohn-Mark Gurney1997-09-193-110/+210
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=29612
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22997
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Add a man page for mixer(8).Mike Pritchard1997-01-102-2/+103
| | | | Notes: svn path=/head/; revision=21482
* Make mixer print out all of the current mixer settings by defualtMike Pritchard1996-01-311-0/+16
| | | | | | | | instead of making the user run a separate command for each setting they are interested in. Closes PR#432. Notes: svn path=/head/; revision=13803
* Fixed to not core dump if not enough arguments are givenMike Pritchard1996-01-151-0/+4
| | | | | | | with the +rec and -rec options. Notes: svn path=/head/; revision=13435
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-6/+6
| | | | Notes: svn path=/head/; revision=8857
* non-X mixer, useful into rc.localAndrey A. Chernov1995-02-152-0/+160
Notes: svn path=/cvs2svn/branches/craig_metz/; revision=6448