summaryrefslogtreecommitdiff
path: root/lib/libossaudio
AgeCommit message (Collapse)Author
2003-05-03- make it -Wall cleanAnil Madhavapeddy
- 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)
2002-12-03Crank all library major numbers. Needed due to the fact that weTodd C. Miller
now build libraries with propolice enabled. Without this, existing binaries (such as ports/packages) that link with any system library other than libc will fail with an undefined symbol of "___guard" (__guard on ELF). Pointed out by markus@ and discussed with deraadt@
2002-05-01o) start new sentence on a new line;Mike Pechkin
o) always close .Bl tags; o) fix usage of .Xr; millert@ ok
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-07-09- remove all trailing whitespaceAaron Campbell
* except when it is escaped with a `\' at the end of the line - fix remaining .Nm usage as well - this is from a patch I received from kwesterback@home.com, who has been working on some scripts for fixing formatting errors in mdoc'd man pages Ok, so there could be a cost/benefit debate with this commit, but since I have the patch we might as well commit it...
1999-07-07The proper order of the ``introductory'' macros in a man page is .Dd/.Dt/.Os.Aaron Campbell
Out of the approximately 1450 man pages, only about 90 of them were wrong. Thanks to kwesterback@home.com for coming up with a script and patch to repair this. The patch also inserted a .Os macro in the few man pages that were missing one.
1999-02-17#undef _POSIX_SOURCE after inclusion of machine/endian.h (if it was not ↵Todd C. Miller
already defined).
1998-05-25fix off by one error, reported by nathanw@MIT.EDU.Niels Provos
1998-05-08sighTheo de Raadt
1998-05-04it is disgusting when something gets put into the source tre incorrectly,Theo de Raadt
but 3 days later still isn't fixed.
1998-05-01libossaudio from NetBSD mostly by Lennart Augustsson <augustss@cs.chalmers.se>Niels Provos