ossaudio(3) - NetBSD Manual Pages

Command: Section: Arch: Collection:  
OSSAUDIO(3)               NetBSD Programmer's Manual               OSSAUDIO(3)


NAME
ossaudio - OSS audio emulation
LIBRARY
OSS Audio Emulation Library (libossaudio, -lossaudio)
SYNOPSIS
#include <soundcard.h>
DESCRIPTION
The ossaudio library provides an emulation of the OSS (Linux) audio in- terface. Use the native interface for new programs and the emulation library only for porting programs.
SEE ALSO
audio(4), midi(4).
BUGS
The emulation uses an #define for ioctl() so some obscure programs can fail to compile. The emulation is incomplete. The emulation only covers ioctl(), there are other differences as well. E.g., on a write that would block in non-blocking mode Linux returns EINTR whereas NetBSD 1.3 returns EWOULDBLOCK.
HISTORY
The ossaudio library first appeared in NetBSD 1.3. NetBSD 1.5.1 October 16, 1997 1
Powered by man-cgi (2024-03-20). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.