SIGN IN SIGN UP

<sys/soundcard.h> seems to exist on both Linux and FreeBSD, so include

it instead of the OS-specific <linux/soundcard.h> or <machine/soundcard.h>.

Mixers devices have an ioctl-only interface, no read/write -- so the
flags passed to open() don't really matter.  Thus, drop the 'mode'
parameter to openmixer() (ie. second arg to newossmixerobject()) and
always open mixers with O_RDWR.
G
Greg Ward committed
0b6dfb808cf3b6738bf92427b01c82856f7d5ef6
Parent: f882c77