History log of /src/usr.bin/audio/ctl/ctl.c |
Revision | | Date | Author | Comments |
1.44 |
| 08-May-2019 |
isaki | Remove -p option. AUDIO_SETCHAN is insecure and is obsoleted.
|
1.43 |
| 21-Mar-2017 |
nat | branches: 1.43.12; Renane ioctl AUDIO_SETPROC to AUDIO_SETCHAN.
Add an ioctl to return channel number (AUDIO_GETCHAN). This can be used on audio/sound/audioctl devices.
Return EIO in read/write/ioctl/poll/stat if fp has been closed or is invalid.
Update audio.4, audioio.h and audioctl(1) to reflect these changes.
|
1.42 |
| 10-Feb-2017 |
nat | Audio now uses fdclone, there is no longer a limitation of one audio instance per process. Virtual channels are placed in a queue, so there is no longer a compile time limit of VAUDIOCHANS.
A new sysctl has been added to control multiple user access. Mixer labels on virtual channels are now prefixed by vchan.
audiobell.c and audioctl have been updated to reflect these changes.
Use of fdclone was posted to tech-kern@ and improvements made. Multiuser access control changes and the use of a queue were suggessted by pgoyette@
|
1.41 |
| 08-Dec-2016 |
nat | branches: 1.41.2; The audio sub-system now supports the following features as posted to tech-kern:
* Simultaneous playback and mixing of multiple streams * Playback streams can be of different encoding, frequency, precision and number of channels * Simultaneous recording to different formats * One audio device per process * Sysctls to set the common format frequency, precision and channels * Independent mixer controls for recording/playback per stream * Utilizes little cpu time for multiple streams / good performance * Compatible with existing programs that use OSS/NetBSD audio * Changes to audioctl(1) to allow specifying process id for corresponding audio device
|
1.40 |
| 30-Aug-2013 |
mrg | branches: 1.40.8; move most of the header writing code from record.c into wav.c and sun.c.
introduce a struct write_info for communication between front ends and backends.
libaudio API is still pretty ugly, and needs to stay local here for now, but it is a little more usable for other tools now.
|
1.39 |
| 28-Aug-2011 |
joerg | branches: 1.39.2; 1.39.8; ANSIfy. Add static. Add __dead.
|
1.38 |
| 11-Apr-2009 |
lukem | fix -Wsign-compare and other WARNS=4 issues
|
1.37 |
| 28-Apr-2008 |
martin | branches: 1.37.8; Remove clause 3 and 4 from TNF licenses
|
1.36 |
| 22-Oct-2006 |
christos | branches: 1.36.16; use c99 initializer.
|
1.35 |
| 26-Jul-2003 |
salo | netbsd.org->NetBSD.org
|
1.34 |
| 23-Jun-2003 |
agc | Add NetBSD RCS Ids.
|
1.33 |
| 06-Jan-2003 |
wiz | compatibility, not compatiblity.
|
1.32 |
| 05-Feb-2002 |
augustss | Test for default device in a portable way. Thanks to Michael Ericsson for spotting the problem.
|
1.31 |
| 31-Jan-2002 |
augustss | Use _PATH_SOUND etc, all fall back to _PATH_SOUND0 (etc.) if that fails.
|
1.30 |
| 27-Jan-2002 |
jdolecek | Delete the old code which made audioctl use stderr for output if the stdout was same as the audio device. It's no longer relevant, and the check was broken anyway (code used st_dev rather than st_rdev when comparing the character devices). A by-product of this is that 'audioctl -a > /dev/null' now works.
Okay'ed by Lennart.
|
1.29 |
| 27-Jan-2002 |
jdolecek | Use '-d' rather than '-f' for specification of alternative mixer or audioctl device. The support for '-f' is kept for compatibility for now.
|
1.28 |
| 15-Jan-2002 |
mrg | - WARNS=3 (from ross@netbsd.org) - fix a bug in WAV conversions
|
1.27 |
| 28-Mar-2001 |
simonb | Fix white space and formatting nits.
|
1.26 |
| 19-Feb-2001 |
cgd | convert to use getprogname()
|
1.25 |
| 05-Feb-2001 |
christos | fix nested extern
|
1.24 |
| 22-Dec-2000 |
mrg | de-__P()-ify
|
1.23 |
| 26-Mar-1999 |
mrg | branches: 1.23.10; audio paths are in <paths.h>
|
1.22 |
| 26-Mar-1999 |
mrg | add audiorecord and audioplay tools. audioplay does .au and .wav files. audiorecord makes .au files only. uses parts of audioctl..
|
1.21 |
| 25-Nov-1998 |
augustss | Make the copyright header conform to the NetBSD template.
|
1.20 |
| 21-Aug-1998 |
augustss | Fix thinko in last commit.
|
1.19 |
| 21-Aug-1998 |
augustss | Use audio and mixer devices with unit numbers. Also allow the devices without unit numbers of a compatibility option is set. Fixes PR 5991.
|
1.18 |
| 13-Aug-1998 |
mrg | audio_prinfo.seek is now a UINT
|
1.17 |
| 10-Aug-1998 |
mycroft | Make it possible to do: audioctl -w play=44100,2,16,slinear
Not the greatest implementation.
|
1.16 |
| 28-Jul-1998 |
mycroft | __AUDIT__ cleanup.
|
1.15 |
| 13-Jul-1998 |
augustss | Fix typo. From Feico Dillema <dillema@acm.org>
|
1.14 |
| 27-Apr-1998 |
augustss | Chnage the name of the environment variables just introduced.
|
1.13 |
| 27-Apr-1998 |
augustss | Add an environment variable for the default audio device.
|
1.12 |
| 19-Oct-1997 |
augustss | Update for SunOS compatibility.
|
1.11 |
| 11-Oct-1997 |
augustss | Print properties differently. Change indentation.
|
1.10 |
| 08-Oct-1997 |
jtc | Fix tipo inherited from old version of TNF copyright template.
|
1.9 |
| 07-Oct-1997 |
augustss | Get rid of warnings.
|
1.8 |
| 25-Aug-1997 |
augustss | Don't try opening the device O_RDWR.
|
1.7 |
| 18-Aug-1997 |
augustss | Change to use /dev/audioctl.
|
1.6 |
| 27-Jul-1997 |
augustss | Modernize for new audio features.
|
1.5 |
| 16-Jul-1997 |
augustss | Sync with audioio.h changes.
|
1.4 |
| 15-Jul-1997 |
veego | Sync with the recent changes of the audio variables. s/AUDIO_ENCODING_LINEAR_LE/AUDIO_ENCODING_SLINEAR_LE/ s/AUDIO_ENCODING_LINEAR_BE/AUDIO_ENCODING_SLINEAR_BE/
|
1.3 |
| 21-May-1997 |
augustss | Fix pasto.
|
1.2 |
| 19-May-1997 |
augustss | Fix some buglets and clean up a little.
|
1.1 |
| 13-May-1997 |
augustss | Add audio utility programs. The audio device can be inspected and changed by audioctl, and the mixer device by mixerctl. The command syntax was inspired by sysctl.
|
1.23.10.2 |
| 09-Feb-2002 |
he | Pull up revision 1.30 (via patch, requested by jdolecek): Remove the old code which made audioctl use stderr for output if stdout was the same as the audio device. A by-product is that ``audioctl -a > /dev/null'' now works.
|
1.23.10.1 |
| 29-Jan-2002 |
he | Apply patch (requested by mrg): Bring in several fixes and enhancements to these tools: o fix stdin audioplay o add WAV support to audiorecord o allows any host to output any endian sample o don't output a bogus header o fix a bug in audiorecord -t o many manual page fixes o exit immediately on signals
|
1.36.16.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.37.8.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
1.39.8.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.39.2.1 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.40.8.3 |
| 26-Apr-2017 |
pgoyette | Sync with HEAD
|
1.40.8.2 |
| 20-Mar-2017 |
pgoyette | Sync with HEAD
|
1.40.8.1 |
| 07-Jan-2017 |
pgoyette | Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
|
1.41.2.1 |
| 21-Apr-2017 |
bouyer | Sync with HEAD
|
1.43.12.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|