summaryrefslogtreecommitdiffstats
path: root/lib/libossaudio/soundcard.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* First pass at removing clauses 3 and 4 from NetBSD licenses.ray2008-06-261-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@
* implement SNDCTL_DSP_GETODELAYjakemsr2007-11-121-1/+2
| | | | | | bump minor version ok deanna@
* Use __BSD_VISIBLE instead of _POSIX_SOURCE to avoid pullingmillert2005-12-191-4/+6
| | | | in most of machine/endian.h. OK espie@
* - make it -Wall cleanavsm2003-05-031-1/+9
| | | | | | | - add SNDCTL_DSP_SETDUPLEX emulation (netbsd) - SNDCTL_DSP_POST is a noop to prevent some apps blocking (netbsd) - some man pages fixes (from me and netbsd) - add some more missing #defines for SOUND_MIXER_* (netbsd)
* make oss_ioctl varargs.espie2002-04-241-7/+2
| | | | | | this is not standard C, but it works on the arches we support, and osscompat is a dirty hack in the first place. ok millert@, tested naddy@
* Force inclusion of <sys/ioctl.h> before the body of soundcard.h.millert2002-03-231-4/+4
| | | | | | | | | Since soundcard.h #defines ioctl to oss_ioctl we need to see the ioctl prototype first. This works around a problem exposed by the __P removal. A slightly better solution may be to simply replace ioctl() in libossaudio, calling the real ioctl() via syscall(2) when needed.
* 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.millert2002-02-161-2/+2
|
* sync up libossaudio with NetBSD changes.brad2001-08-181-8/+35
| | | | | | | | | | | | | | | | | | | -- - Add __BEGIN_DECLS & __END_DECLS for C++ - Make protection against multiple inclusion non-invasive wrt. name space - Use EAGAIN instead of EWOULDBLOCK. The actual numeric value is same, but EAGAIN is the posixly correct name - Remove white space - Change the behaviour to report emulated encodings, too - Implement SOUND_MIXER_INFO - Implement OSS_GETVERSION - Accept mixer values above max (100) - Handle the info from AUDIO_MIXER_DEVINFO properly, parts of it is opaque - Use accurate rounding in conversion between OSS and OpenBSD volume values - Map OSS mixer device "line1" to native mixer device "aux" -- Some testing by pvalchev@, no response from other testers in over a month and a half.
* Fix fragment handling for SNDCTL_DSP_GETxSPACE ioctls; per NetBSD PR/12796.aaron2001-05-241-2/+2
| | | | | | The kernel part of this fixes sound emulation for version 1.37c of the Linux binary of Snes9x (Super Nintendo emulator). The userland equivalent fix should allow espie to remove his local audio hacks in the squeak port.
* typoderaadt1999-09-011-1/+1
|
* pull in ioccom.h because apps exist which do not pull in ioctl.h first; steuck@iname.comderaadt1999-08-311-1/+5
|
* #undef _POSIX_SOURCE after inclusion of machine/endian.h (if it was not already defined).millert1999-02-171-1/+6
|
* libossaudio from NetBSD mostly by Lennart Augustsson <augustss@cs.chalmers.se>provos1998-05-011-0/+284