summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mixer
Commit message (Collapse)AuthorAgeFilesLines
* Return proper error message if recording device is not specified.mav2012-01-271-1/+6
| | | | MFC after: 1 week
* Mark global functions and/or variables in mixer(8) static where possible.ed2011-11-061-1/+1
| | | | This allows compilers and static analyzers to do more thorough analysis.
* mdoc: drop redundant .Pp and .LP callsuqs2010-10-081-1/+0
| | | | They have no effect when coming in pairs, or before .Bl/.Bd
* mdoc: consistently spell our email addresses <foo@FreeBSD.org>uqs2010-05-191-1/+1
| | | | Reviewed by: ru
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-021-2/+0
|
* mixer(8) is WARNS=6 clean since 1.25.jkim2008-03-161-1/+1
| | | | Tested with: 'make universe'
* Fix a typo.jkim2008-03-151-1/+1
|
* Clean up code and fix style(9) nits.jkim2008-03-151-100/+102
|
* Update list of possible mixer devices. These devices were added tojkim2008-03-151-2/+3
| | | | soundcard.h more than ten years ago.
* - Check device masks and bypass printing headers if capable device doesjkim2008-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.
* o Add "line" device to a list of mixer(8) devices.maxim2007-05-091-1/+1
| | | | | | PR: docs/112520 Submitted by: Pietro Cerutti MFC after: 1 week
* - Fix possible memory leak due to repetetive strdup(3) without matchingariff2006-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
* Markup fixes.ru2005-06-141-4/+4
| | | | Approved by: re (blanket)
* Add the -S flag which produces the -s output withoutmdodd2005-04-132-12/+26
| | | | mixing field separators.
* Mechanically kill hard sentence breaks.ru2004-07-021-4/+8
|
* Removed trailing whitespace.ru2004-07-021-1/+1
|
* 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
* Document changes to default output.grog2003-06-151-6/+7
|
* 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.
* Assorted mdoc(7) fixes.ru2003-05-221-8/+16
| | | | Approved by: re (blanket)
* Use __FBSDID over rcsid[]. Protect copyright[] where needed.obrien2003-05-031-4/+2
|
* Implement relative mixer adjustment.mdodd2003-04-092-13/+51
| | | | PR: 46679 (similar functionality)
* Print old mixer levels when setting new ones.jmallett2002-12-301-2/+8
|
* The .Nm utilitycharnier2002-07-141-2/+2
|
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-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.
* Remove whitespace at EOL.dd2001-07-151-3/+3
|
* Constify and set WARNS=2.dd2001-06-252-2/+3
| | | | | Submitted by: Mike Barcroft <mike@q9media.com Reviewed by: md5(1)
* Change the behaviour of mixer slightly such that not explicitly specifyinggreid2001-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
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-1/+0
|
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-10/+15
|
* Fix format string warningskris2000-11-271-3/+3
|
* mdoc(7) police: do not split author names in the AUTHORS section.ru2000-11-221-0/+1
|
* Several cleanups:sobomax2000-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).
* I've always wanted to be able to dump out the current values ofjkh2000-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.
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-1/+2
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Remove xrefs to obosolete cdplay(1)nik2000-03-011-2/+1
| | | | | PR: docs/17079 Submitted by: Udo Erdelhoff <ue@nathan.ruhr.de>
* Terminate .Bl with .Elcharnier1999-11-271-1/+2
|
* Spelling fix.mpp1999-10-301-1/+1
| | | | | PR: bin/14588 Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de>
* 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-283-3/+3
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-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
* 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
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.charnier1998-03-231-3/+3
|
* 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-292-36/+31
|
* 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-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
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-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.
OpenPOWER on IntegriCloud