summaryrefslogtreecommitdiff
path: root/usr.bin/audioctl/audioctl.c
AgeCommit message (Expand)Author
2021-07-12Change the error reporting pattern throughout the tree when unveilBob Beck
2020-02-02Drop 'mixer' variable whose value is not used.Alexandre Ratchov
2020-02-02Rename {print,parse}_val() functions to {print,parse}_field()Alexandre Ratchov
2020-02-01Rename print_names flag to show_names.Alexandre Ratchov
2020-02-01Move commands processing into it's own routine.Alexandre Ratchov
2020-01-30Don't open the device for reading.Alexandre Ratchov
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2018-09-17unveil(2) "path" (/dev/audioctl0 by default, or changed via args) with rwRicardo Mestre
2017-05-31close fd on an exit pathJonathan Gray
2016-08-31close an opened fd before returning from mainJonathan Gray
2016-06-21use the same argument name for -f in usage() as in SYNOPSIS;Jason McIntyre
2016-06-21Make usage string match the man page.Alexandre Ratchov
2016-06-21Reimplement audioctl using new api in a simper way.Alexandre Ratchov
2016-01-29Display play and record parameters that are not independentAlexandre Ratchov
2015-07-28Use new AUDIO_GETPOS ioctl() to ensure "bytes" and "errors" countersAlexandre Ratchov
2015-05-26Exposes number of bytes processed by the sound card (as returnedAlexandre Ratchov
2015-05-16Display simply "play" when play mode is set (furthermore, "playsync",Alexandre Ratchov
2015-05-16remove reference to encodings the kernel doesn't expose anymoreAlexandre Ratchov
2015-02-08in getopt() blocks, stop incrementing flag variable which are supposedTheo de Raadt
2014-09-23Hide unused, duplicate and/or misleading fields.Alexandre Ratchov
2013-11-13handle missing protoTheo de Raadt
2012-07-27Fix initializer botch introduced in r1.20 when 'oldval' field wasKenneth R Westerback
2010-07-15add two new members to structs audio_encoding and audio_prinfo.Jacob Meuser
2009-11-12When values are changed, log the change in the ``name: old -> new''Alexandre Ratchov
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
2008-04-25display count of playback frame errors (underruns) in play.errors like weJacob Meuser
2008-03-22add audio(4) driver the ability to use different block sizes for play andAlexandre Ratchov
2007-11-26if no arguments given, assume a nice default; ok miod jakemsr deannaTheo de Raadt
2007-09-27style(9) fixes, optional flags without arguments come first;Igor Sobrado
2007-09-17implement the output_muted member of audio_info_t as found in originalJacob Meuser
2007-08-06the ellipsis is not an optional argument; while here, sync the usageIgor Sobrado
2006-03-14More use of const and fix a signed/unsigned comparison.Moritz Jodeit
2004-07-06make -w optional to set options, so audioctl is consistent withVincent Labrecque
2003-06-21()Theo de Raadt
2003-04-16kill += snprintfTheo de Raadt
2002-12-13audio_prinfo.seek is int now; document and syncChristian Weisgerber
2002-12-10ansi, KNF, other style(9) improvements and logic simplification; andrushock@k...Peter Valchev
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2000-11-21Sync usage() output and man page; mpech@prosoft.org.lvAaron Campbell
1998-07-15fullduplex, and UINTTheo de Raadt
1998-04-30From NetBSD: Lennart AugustssonNiels Provos
1998-04-26$OpenBSD$Niels Provos
1998-04-26audioctl from NetBSD, mostly by Lennart Augustsson <augustss@cs.chalmers.se>Niels Provos