| History log of /src/usr.bin/audio/ctl |
| Revision | Date | Author | Comments |
| 1.1 | 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.26 | 03-Jun-2025 |
kre | Update to correct (minor) misstatememt pointed out on netbsd-users by Ramiro Aceves.
(Someone with better knowledge of the audio system than I should review this and correct anything I do not correctly understand.)
|
| 1.25 | 07-Aug-2022 |
andvar | branches: 1.25.4; fix various typos in comments, documentation and messages. mainly s/paramater/parameter/ and s/reduntant/redundant/.
|
| 1.24 | 21-Mar-2021 |
nia | audioctl.1: describe foibles
|
| 1.23 | 09-May-2019 |
wiz | branches: 1.23.2; Sort options (no-argument options before ones demanding arguments).
Bump date.
|
| 1.22 | 08-May-2019 |
isaki | Remove -p option. AUDIO_SETCHAN is insecure and is obsoleted.
|
| 1.21 | 10-Feb-2017 |
nat | branches: 1.21.12; 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.20 | 08-Dec-2016 |
nat | branches: 1.20.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.19 | 15-May-2010 |
joerg | branches: 1.19.28; Reorder sections to canonical order.
|
| 1.18 | 30-Apr-2008 |
martin | Convert TNF licenses to new 2 clause variant
|
| 1.17 | 25-Feb-2003 |
wiz | branches: 1.17.32; .Nm does not need a dummy argument ("") before punctuation or for correct formatting of the SYNOPSIS any longer.
|
| 1.16 | 13-Oct-2002 |
wiz | New sentence, new line. Use Aq/An.
|
| 1.15 | 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.14 | 17-Oct-2001 |
wiz | Sort sections, drop some whitespace.
|
| 1.13 | 02-Apr-1999 |
augustss | Xref audioplay(1) and audiorecord(1).
|
| 1.12 | 10-Mar-1999 |
erh | branches: 1.12.2; Add missing .El line.
|
| 1.11 | 18-Feb-1999 |
mycroft | Oops; update the date as well.
|
| 1.10 | 18-Feb-1999 |
mycroft | Update comments.
|
| 1.9 | 18-Feb-1999 |
mycroft | Rework the examples section a little.
|
| 1.8 | 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.7 | 27-Apr-1998 |
augustss | Chnage the name of the environment variables just introduced.
|
| 1.6 | 27-Apr-1998 |
augustss | Add an environment variable for the default audio device.
|
| 1.5 | 18-Oct-1997 |
lukem | fix .Nm usage
|
| 1.4 | 08-Oct-1997 |
jtc | Fix tipo inherited from old version of TNF copyright template.
|
| 1.3 | 18-Aug-1997 |
augustss | Change to use /dev/audioctl.
|
| 1.2 | 15-May-1997 |
augustss | Add HISTORY section.
|
| 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.12.2.1 | 13-Apr-1999 |
mrg | pull up 1.13
|
| 1.17.32.1 | 18-May-2008 |
yamt | sync with head.
|
| 1.19.28.2 | 20-Mar-2017 |
pgoyette | Sync with HEAD
|
| 1.19.28.1 | 07-Jan-2017 |
pgoyette | Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
|
| 1.20.2.1 | 21-Apr-2017 |
bouyer | Sync with HEAD
|
| 1.21.12.1 | 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.23.2.1 | 12-Mar-2024 |
martin | Pull up the following revisions, requested by mrg in ticket #1818:
usr.bin/audio/common/auconv.h up to 1.6 usr.bin/audio/common/audio.c up to 1.27 usr.bin/audio/common/decode.c up to 1.2 usr.bin/audio/common/libaudio.h up to 1.22 usr.bin/audio/common/sun.c up to 1.11 usr.bin/audio/common/wav.c up to 1.22 usr.bin/audio/ctl/audioctl.1 up to 1.25 usr.bin/audio/play/audioplay.1 up to 1.34 usr.bin/audio/play/play.c up to 1.64 usr.bin/audio/record/audiorecord.1 up to 1.45 usr.bin/audio/record/record.c up to 1.58
- support for playing 32-bit and 64-bit IEEE FP .wav files - support for recording 24 bit .wav files - read-overflow fixes for .wav files, and other fixes for the wav parser - audioplay gains -n flag (no play, like make -n) - audioctl manual spruced up - audiorecord manual gained useful examples
|
| 1.25.4.1 | 02-Aug-2025 |
perseant | Sync with HEAD
|
| 1.4 | 29-May-2008 |
mrg | remove clause #3 from my license where there are no other copyright holders involved.
|
| 1.3 | 22-Dec-2000 |
mrg | branches: 1.3.34; 1.3.36; de-__P()-ify
|
| 1.2 | 26-Mar-1999 |
mrg | add missing copyrights.
|
| 1.1 | 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.3.36.1 | 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
| 1.3.34.1 | 04-Jun-2008 |
yamt | sync with head
|
| 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
|