Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add unveil(2) to mixerctl(1) | 2018-08-08 | 1 | -3/+13 | |
| | | | | | | | | | | | | | | | after we know what is the mixer device to be used, either through MIXERDEVICE env var, the argument passed or by default /dev/mixer then we can unveil it in read/write mode, then if opening fails we reduce unveil to only read mode. Once open(2) succeeds then we can disable fs access by calling unveil(NULL, NULL) since all further operations occur on fds. A cleaner solution would be to just call pledge("audio") after open(2) but currently the ioctls used are not whitelisted in pledge(2), ratchov@ will investigate a better way to do this OK ratchov@ | ||||
* | catch up with the symlink removal of /dev/{audio,mixer}; | 2018-07-30 | 1 | -4/+4 | |
| | | | | ok ratchov | ||||
* | drop useless .Xo and .Bk, and shorten by avoiding some .Sm | 2015-09-25 | 1 | -4/+2 | |
| | |||||
* | use file system path (.Pa) semantic markup macros where appropriate. | 2015-07-27 | 1 | -4/+4 | |
| | | | | ok jmc@ | ||||
* | in getopt() blocks, stop incrementing flag variable which are supposed | 2015-02-08 | 1 | -4/+4 | |
| | | | | | to just be 0/1 ok miod florian | ||||
* | if a value is changed and -n is used, print the new value only. | 2009-11-12 | 1 | -14/+13 | |
| | | | | | from Pawlowski Marcin Piotr <pmp.openbsd at gmail.com> ok jakemsr | ||||
* | some minor cleanup, including a fix from Thomas Pfaff (mention | 2008-10-19 | 1 | -11/+13 | |
| | | | | mixerctl.conf in mixerctl(1)); | ||||
* | First pass at removing clauses 3 and 4 from NetBSD licenses. | 2008-06-26 | 2 | -17/+3 | |
| | | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@ | ||||
* | synchronize the synopsis and usage; improve description of flag "-a" | 2008-03-14 | 1 | -4/+5 | |
| | | | | | | written with invaluable advice from jakemsr@, jmc@, ratchov@ ok jmc@ | ||||
* | the mixer_devinfo structure contains next and prev pointers; they are used | 2008-01-13 | 1 | -3/+2 | |
| | | | | | | | | | to create doubly linked "chains" of mixer devices. Currently mixerctl(1) supposes that the 'next' index is never smaller than the index of the device; so it fails to handle such mixers. The fix, allows 'next' indexes to be smaller than the index of the device. ok jakemsr@ | ||||
* | if no arguments given, assume a nice default; ok miod jakemsr deanna | 2007-11-26 | 1 | -3/+5 | |
| | |||||
* | style(9) fixes, optional flags without arguments come first; | 2007-09-27 | 2 | -6/+6 | |
| | | | | | | while here, some spacing fixes ok deanna@, jakemsr@ | ||||
* | the ellipsis is not an optional argument; while here, sync the usage | 2007-08-06 | 2 | -10/+9 | |
| | | | | | | | | and synopsis of commands lots of good ideas by jmc@ ok jmc@ | ||||
* | convert to new .Dd format; | 2007-05-31 | 1 | -2/+2 | |
| | |||||
* | big sorry to simon dassow, whose diff i inadvertently removed; | 2005-10-18 | 1 | -2/+7 | |
| | | | | this reinstates it; | ||||
* | - document the different types of mixerctl variables | 2005-10-17 | 1 | -38/+51 | |
| | | | | | | | | - standard EXAMPLES - make HISTORY more Ox-specific - minor tweaks feedback + ok: otto@ jaredy@ tom@ | ||||
* | more words; janus@area319.de | 2005-10-10 | 1 | -2/+4 | |
| | |||||
* | missing progname, clamat@telus.net | 2005-10-07 | 1 | -2/+2 | |
| | |||||
* | toggle support from janus@area319.de. i was unsure, but a few other | 2005-10-01 | 2 | -9/+43 | |
| | | | | people found this very useful | ||||
* | Fix mixerctl -q | 2005-05-09 | 1 | -5/+5 | |
| | |||||
* | Levels should be between AUDIO_MIN_GAIN and AUDIO_MAX_GAIN inclusive | 2005-02-07 | 1 | -51/+41 | |
| | | | | | Truncate specified level to be within this range and avoid wrapping. Idea from espie@, OK henning@ | ||||
* | Fix a few memory leaks and general cleanup. From Joris Vink. ok tedu@ | 2005-02-02 | 1 | -89/+87 | |
| | |||||
* | Minor KNF, s/for(/for (/ | 2005-01-04 | 1 | -16/+16 | |
| | |||||
* | Fix some issues noted by Joris Vink; pedro@ OK | 2005-01-04 | 1 | -5/+6 | |
| | | | | | | o g/c the changed field in struct field o increment argv for bad fields too o deal with AUDIO_MIXER_DEVINFO (unlikely) failures | ||||
* | Add support for setting mixerctl values in a sysctl.conf like manner | 2004-11-22 | 1 | -1/+2 | |
| | | | | | via mixerctl.conf. ok deraadt@, earlier version ok henning@ | ||||
* | Xrs from Alexey E. Suslikov; | 2004-07-30 | 1 | -1/+3 | |
| | |||||
* | fix ndev counting loop. report from Stuart Cassoff | 2004-03-02 | 1 | -4/+4 | |
| | |||||
* | fix segfault when an invalid field was requested | 2004-01-22 | 1 | -4/+8 | |
| | | | | ok miod | ||||
* | remove need for -w. ok beck deraadt | 2004-01-22 | 2 | -46/+39 | |
| | |||||
* | mixerctl.1: | 2003-11-21 | 2 | -22/+24 | |
| | | | | | | | | | | | | - put SYNOPSIS in standard form - -n does not make sense with -q - adjust -width of option list - sort options - a clarity fix from snj att pobox dott com mixerctl.c: - fix spacing in usage() - sync usage() with SYNOPSIS | ||||
* | - section reorder | 2003-06-10 | 1 | -11/+11 | |
| | | | | | | | | | - COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@ | ||||
* | unbreak tree; ok margarida@ | 2003-05-15 | 1 | -2/+2 | |
| | |||||
* | make usage printing match what's in the manpage, which is better; ok jfb@ | 2003-05-15 | 1 | -4/+4 | |
| | |||||
* | Add a -q flag to suppress all output when setting a variable, and | 2003-05-15 | 2 | -8/+13 | |
| | | | | | | | remove the -v flag from the SYNOPSIS for the -w option since it has no effect ok jsyn@ millert@ | ||||
* | end sentence with a period; jmc@prioris.mini.pw.edu.pl | 2003-01-05 | 1 | -2/+2 | |
| | |||||
* | ansify, indent, check for malloc/calloc failure, proper usage() | 2002-12-03 | 1 | -72/+62 | |
| | | | | from andrushock@korovino.net via deraadt | ||||
* | complete SYNOPSIS, sort options and improve wording slightly | 2002-12-03 | 1 | -9/+10 | |
| | | | | from andrushock@korovino.net | ||||
* | use $ or # before commands in examples | 2002-11-14 | 1 | -2/+2 | |
| | |||||
* | strlcat | 2002-05-29 | 1 | -5/+9 | |
| | |||||
* | Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | 2002-02-16 | 1 | -5/+5 | |
| | |||||
* | open RDWR only for -w, RDONLY otherwise | 2002-01-09 | 1 | -11/+11 | |
| | |||||
* | Remove completely redundant introductory sentences in ENVIRONMENT sections. | 2001-05-01 | 1 | -3/+1 | |
| | |||||
* | - Section shuffling: comply to the section ordering outlined in mdoc(7). | 2000-11-10 | 1 | -6/+6 | |
| | | | | | | - Some .Nm trimming. - .Sh AUTHOR -> .Sh AUTHORS - Other miscellaneous fixes here and there. | ||||
* | Change all option list specifications to ".Bl -tag -width Ds". Most man | 2000-11-09 | 1 | -2/+2 | |
| | | | | | pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything. | ||||
* | Convert to newer style. | 2000-03-10 | 1 | -37/+48 | |
| | |||||
* | fix for case no mixer devices are available, got triggered by malloc.conf->J; millert@ ok | 1999-07-19 | 1 | -1/+5 | |
| | |||||
* | more .Nm fixes | 1998-12-16 | 1 | -6/+4 | |
| | |||||
* | usr.bin/ man page fixes, f-m. | 1998-09-26 | 1 | -5/+5 | |
| | |||||
* | more man page fixes; aaron@ug.cs.dal.ca | 1998-09-01 | 1 | -2/+2 | |
| | |||||
* | Add some more explanatory text. augustss | 1998-06-02 | 1 | -6/+43 | |
| |