summaryrefslogtreecommitdiff
path: root/sys/compat/ossaudio
AgeCommit message (Collapse)Author
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>