summaryrefslogtreecommitdiff
path: root/usr.bin/mixerctl/mixerctl.c
AgeCommit message (Collapse)Author
2005-02-07Levels should be between AUDIO_MIN_GAIN and AUDIO_MAX_GAIN inclusiveTodd C. Miller
Truncate specified level to be within this range and avoid wrapping. Idea from espie@, OK henning@
2005-02-02Fix a few memory leaks and general cleanup. From Joris Vink. ok tedu@Otto Moerbeek
2005-01-04Minor KNF, s/for(/for (/Todd C. Miller
2005-01-04Fix some issues noted by Joris Vink; pedro@ OKTodd C. Miller
o g/c the changed field in struct field o increment argv for bad fields too o deal with AUDIO_MIXER_DEVINFO (unlikely) failures
2004-03-02fix ndev counting loop. report from Stuart CassoffTed Unangst
2004-01-22fix segfault when an invalid field was requestedVincent Labrecque
ok miod
2004-01-22remove need for -w. ok beck deraadtTed Unangst
2003-11-21mixerctl.1:Jason McIntyre
- 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
2003-05-15unbreak tree; ok margarida@Todd T. Fries
2003-05-15make usage printing match what's in the manpage, which is better; ok jfb@Jason Peel
2003-05-15Add a -q flag to suppress all output when setting a variable, andJean-Francois Brousseau
remove the -v flag from the SYNOPSIS for the -w option since it has no effect ok jsyn@ millert@
2002-12-03ansify, indent, check for malloc/calloc failure, proper usage()Peter Valchev
from andrushock@korovino.net via deraadt
2002-05-29strlcatTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-01-09open RDWR only for -w, RDONLY otherwiseMichael Shalayeff
1999-07-19fix for case no mixer devices are available, got triggered by ↵Michael Shalayeff
malloc.conf->J; millert@ ok
1998-05-02allow relative values via +/- prefixesTodd C. Miller
1998-04-30From NetBSD: Lennart Augustsson:Niels Provos
environment variable for default mixer device
1998-04-26$OpenBSD$Niels Provos
1998-04-26mixerctl from NetBSD, mostly by Lennart Augustsson <augustss@cs.chalmers.se>Niels Provos