summaryrefslogtreecommitdiff
path: root/lib/libossaudio/soundcard.h
AgeCommit message (Collapse)Author
2002-04-24make oss_ioctl varargs.Marc Espie
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@
2002-03-23Force inclusion of <sys/ioctl.h> before the body of soundcard.h.Todd C. Miller
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.
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-08-18sync up libossaudio with NetBSD changes.Brad Smith
-- - 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.
2001-05-24Fix fragment handling for SNDCTL_DSP_GETxSPACE ioctls; per NetBSD PR/12796.Aaron Campbell
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.
1999-09-01typoTheo de Raadt
1999-08-31pull in ioccom.h because apps exist which do not pull in ioctl.h first; ↵Theo de Raadt
steuck@iname.com
1999-02-17#undef _POSIX_SOURCE after inclusion of machine/endian.h (if it was not ↵Todd C. Miller
already defined).
1998-05-01libossaudio from NetBSD mostly by Lennart Augustsson <augustss@cs.chalmers.se>Niels Provos