Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | unveil(2) "path" (/dev/audioctl0 by default, or changed via args) with rw | 2018-09-17 | 1 | -1/+6 | |
| | | | | | | access and disable further calls to unveil(2) with unveil(NULL, NULL). OK ratchov@ | ||||
* | close fd on an exit path | 2017-05-31 | 1 | -2/+4 | |
| | |||||
* | close an opened fd before returning from main | 2016-08-31 | 1 | -1/+2 | |
| | | | | ok guenther@ | ||||
* | use the same argument name for -f in usage() as in SYNOPSIS; | 2016-06-21 | 1 | -4/+4 | |
| | |||||
* | Make usage string match the man page. | 2016-06-21 | 1 | -2/+5 | |
| | | | | suggested by jmc@ | ||||
* | some formatting and comma tweaks; ok ratchov | 2016-06-21 | 1 | -6/+6 | |
| | |||||
* | Update manual to "new" audioctl: | 2016-06-21 | 1 | -30/+86 | |
| | | | | | | | | | | | - stress that its purpose is to set and get variables, it isn't a configuration tool (there's nothing to configure anymore) - document all audio driver variables - document the difference between /dev/audioctl0 and /dev/audio0 - give an example of how to test hardware capabilities with audioctl ok semarie@, with help from jmc@, fix from Michael W. Bombardieri | ||||
* | Reimplement audioctl using new api in a simper way. | 2016-06-21 | 1 | -376/+218 | |
| | | | | | | | | | | | | | | | | - group all encoding parameters in a signle string, ex. "s16le", this way we use the same naming scheme as aucat, sndiod and many ports. - remove "properties" as they are not used any longer - remove the list of encodings as there's no benefit in having it. We don't have lists for other parameters (sample rates, channel numbers) either. - add -q option, to look like sysctl - remove unused -a option - stop using symlinks in /dev, most other software doesn't use them. ok semarie@ | ||||
* | We're not allowed to change audio parameters while the device is | 2016-01-29 | 1 | -15/+5 | |
| | | | | in use by another program. Explain that and remove wrong example. | ||||
* | Display play and record parameters that are not independent | 2016-01-29 | 1 | -22/+26 | |
| | | | | | | | | as a single variable (this corresponds to the way the audio driver handles them). As we're at it, drop unused/duplicate parameters. ok mpi | ||||
* | Use new AUDIO_GETPOS ioctl() to ensure "bytes" and "errors" counters | 2015-07-28 | 1 | -15/+11 | |
| | | | | are consistent. | ||||
* | Exposes number of bytes processed by the sound card (as returned | 2015-05-26 | 1 | -3/+9 | |
| | | | | | | | by AUDIO_GET{I,O}OFFS) instead of the number of bytes processed minus the xruns (as returned by AUDIO_GETINFO). ok armani | ||||
* | Display simply "play" when play mode is set (furthermore, "playsync", | 2015-05-16 | 1 | -5/+2 | |
| | | | | aka PLAY_ALL mode is not used anymore) | ||||
* | remove reference to encodings the kernel doesn't expose anymore | 2015-05-16 | 1 | -9/+1 | |
| | |||||
* | in getopt() blocks, stop incrementing flag variable which are supposed | 2015-02-08 | 1 | -3/+3 | |
| | | | | | to just be 0/1 ok miod florian | ||||
* | Hide unused, duplicate and/or misleading fields. | 2014-09-23 | 1 | -28/+1 | |
| | | | | ok armani, shadchin, kspillner | ||||
* | handle missing proto | 2013-11-13 | 1 | -2/+2 | |
| | |||||
* | Fix initializer botch introduced in r1.20 when 'oldval' field was | 2012-07-27 | 1 | -2/+2 | |
| | | | | | | | | added into middle of struct field (sic), without adding appropriate initializer values. Move field to end of struct and let 0 be it's value. Spotted and diff from David Julio. | ||||
* | add two new members to structs audio_encoding and audio_prinfo. | 2010-07-15 | 1 | -3/+7 | |
| | | | | | | | | | | for both structs, the new members are 'bps' and 'msb', which describe the number of bytes per sample and data alignment in the sample, respectively. drivers must properly set these fields in the 'query_encoding', 'set_parameters' and 'get_default_params' hardware interface methods. discussed with ratchov, deraadt | ||||
* | When values are changed, log the change in the ``name: old -> new'' | 2009-11-12 | 1 | -33/+49 | |
| | | | | | | format, as mixerctl does. If -n is used log the new value only. from Pawlowski Marcin Piotr <pmp.openbsd at gmail.com>, thanks. ok jakemsr | ||||
* | fix typo: in the example use ``rate'' instead of ``sample_rate'', | 2009-11-10 | 1 | -3/+3 | |
| | | | | | since the later is a hidden alias of the former. from Jan Stary <hansi _at_ stare.cz>, thanks | ||||
* | 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@ | ||||
* | update the example: using "play.block_size" instead of "blocksize" is now | 2008-04-25 | 1 | -2/+2 | |
| | | | | | | the recommended way to set the play block size ok jakemsr | ||||
* | display count of playback frame errors (underruns) in play.errors like we | 2008-04-25 | 1 | -4/+7 | |
| | | | | | | do with record.errors for recording (overruns). ok ratchov | ||||
* | -a flag is deprecated, remove it from an example. | 2008-04-25 | 1 | -3/+3 | |
| | | | | ok ratchov | ||||
* | add audio(4) driver the ability to use different block sizes for play and | 2008-03-22 | 1 | -1/+3 | |
| | | | | | | | | record modes. This makes possible to have blocks of the same duration if the play and record formats are different. The API change is backward compatible, so it shouldn't be noticed by current audio ports. ok jakemsr | ||||
* | 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@ | ||||
* | if no arguments given, assume a nice default; ok miod jakemsr deanna | 2007-11-26 | 1 | -2/+5 | |
| | |||||
* | style(9) fixes, optional flags without arguments come first; | 2007-09-27 | 2 | -17/+17 | |
| | | | | | | while here, some spacing fixes ok deanna@, jakemsr@ | ||||
* | implement the output_muted member of audio_info_t as found in original | 2007-09-17 | 1 | -1/+2 | |
| | | | | | | Sun audio. input from and ok ratchov | ||||
* | the ellipsis is not an optional argument; while here, sync the usage | 2007-08-06 | 2 | -9/+7 | |
| | | | | | | | | and synopsis of commands lots of good ideas by jmc@ ok jmc@ | ||||
* | convert to new .Dd format; | 2007-05-31 | 1 | -2/+2 | |
| | |||||
* | More use of const and fix a signed/unsigned comparison. | 2006-03-14 | 1 | -10/+10 | |
| | | | | From David Hill. ok ray@ jaredy@ | ||||
* | - better width for options list | 2004-07-30 | 1 | -11/+13 | |
| | | | | | | - sort options - small tweaks - Xrs from Alexey E. Suslikov | ||||
* | make -w optional to set options, so audioctl is consistent with | 2004-07-06 | 2 | -62/+60 | |
| | | | | | | "new" sysctl/mixerctl ok millert@, "go for it" deraadt@ | ||||
* | make man page example match reality | 2004-05-09 | 1 | -4/+6 | |
| | | | | ok deraadt@ | ||||
* | rearrange examples so they expand properly; | 2003-10-22 | 1 | -4/+5 | |
| | | | | also a little less whitespace; | ||||
* | () | 2003-06-21 | 1 | -2/+2 | |
| | |||||
* | - section reorder | 2003-06-10 | 1 | -11/+11 | |
| | | | | | | | | | - COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@ | ||||
* | kill += snprintf | 2003-04-16 | 1 | -10/+11 | |
| | |||||
* | audio_prinfo.seek is int now; document and sync | 2002-12-13 | 1 | -3/+3 | |
| | | | | ok miod@ millert@ | ||||
* | ansi, KNF, other style(9) improvements and logic simplification; andrushock@korovino.net | 2002-12-10 | 1 | -44/+35 | |
| | |||||
* | sort options; andrushock@korovino.net | 2002-12-10 | 1 | -4/+4 | |
| | |||||
* | use $ or # before commands in examples | 2002-11-14 | 1 | -4/+4 | |
| | |||||
* | 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 | -7/+7 | |
| | |||||
* | Remove completely redundant introductory sentences in ENVIRONMENT sections. | 2001-05-01 | 1 | -3/+1 | |
| | |||||
* | Sync usage() output and man page; mpech@prosoft.org.lv | 2000-11-21 | 2 | -8/+8 | |
| | |||||
* | 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. | ||||
* | Various cleanups and standardization. | 2000-03-10 | 1 | -2/+5 | |
| | |||||
* | mdoc'ify | 2000-03-04 | 1 | -25/+31 | |
| |