summaryrefslogtreecommitdiff
path: root/sys/compat/ossaudio
AgeCommit message (Collapse)Author
2002-03-14First round of __P removal in sysTodd C. Miller
2002-02-14More FREF/FRELE fixesPeter Valchev
2001-10-26 - every new fd created by falloc() is marked as larval and should not be usedArtur Grabowski
any anyone. Every caller of falloc matures the fd when it's usable. - Since every lookup in the fd table must now check this flag and all of them do the same thing, move all the necessary checks into a function - fd_getfile.
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.
2001-04-11Fix an off-by-one error. Also, SETFRAGMENT ignores the high bit; from NetBSD.Aaron Campbell
Now the sound from the Linux binary of VGB (Virtual Gameboy) is emulated correctly, although only with sound cards whose drivers' aren't picky about rounding blocksizes.
2001-02-09constify static dataMichael Shalayeff
2001-01-25fix comment.Brad Smith
1999-12-14compat_bsdos needs this also. millert@ ok.Hakan Olsson
1999-11-20ioctl arguments are u_long.Marc Espie
Replaces `undefined' code with `defined' behavior... gcc 2.96 performs switch cases range analysis, warns about unreachable cases, and weeds them out. In switch(i) { case VALUE: } VALUE is first coerced into the type of i. If i is signed, VALUE is unsigned and exceeds i range, you lose... the result of the conversion is undefined.
1998-04-26$Niels Provos
1998-04-262nd try: compat ossaudio from NetBSD mostly byNiels Provos
Lennart Augustsson <augustss@cs.chalmers.se>