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@ | ||||
* | 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@ | ||||
* | 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 | ||||
* | First pass at removing clauses 3 and 4 from NetBSD licenses. | 2008-06-26 | 1 | -8/+1 | |
| | | | | | | | | | 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@ | ||||
* | 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 | ||||
* | 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 | ||||
* | 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 | 1 | -12/+12 | |
| | | | | | | 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 | 1 | -3/+3 | |
| | | | | | | | | and synopsis of commands lots of good ideas by jmc@ ok jmc@ | ||||
* | More use of const and fix a signed/unsigned comparison. | 2006-03-14 | 1 | -10/+10 | |
| | | | | From David Hill. ok ray@ jaredy@ | ||||
* | make -w optional to set options, so audioctl is consistent with | 2004-07-06 | 1 | -57/+56 | |
| | | | | | | "new" sysctl/mixerctl ok millert@, "go for it" deraadt@ | ||||
* | () | 2003-06-21 | 1 | -2/+2 | |
| | |||||
* | 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 | |
| | |||||
* | 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 | |
| | |||||
* | Sync usage() output and man page; mpech@prosoft.org.lv | 2000-11-21 | 1 | -4/+4 | |
| | |||||
* | fullduplex, and UINT | 1998-07-15 | 1 | -2/+3 | |
| | |||||
* | From NetBSD: Lennart Augustsson | 1998-04-30 | 1 | -3/+8 | |
| | | | | environment variable for default audioctl device | ||||
* | $OpenBSD$ | 1998-04-26 | 1 | -0/+1 | |
| | |||||
* | audioctl from NetBSD, mostly by Lennart Augustsson <augustss@cs.chalmers.se> | 1998-04-26 | 1 | -0/+448 | |