Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Open Sound System
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== API === The OSS API has remained influential despite the obscurity of the original library. NetBSD's documentation describes it as "the preferred API in FreeBSD and Solaris".<ref name="NetBSDman">{{cite web |title=ossaudio(3) - NetBSD Manual Pages |url=https://man.netbsd.org/NetBSD-10.0-STABLE/ossaudio.3 |website=man.netbsd.org}}</ref> [[FreeBSD]] contains an independently developed implementation of the OSS API, which includes, among other things, in-kernel resampling, [[Audio mixing (recorded music)|mixing]] (vchans), equalizer, surround sound, and independent volume control for each application. It also supports bit-perfect mode.<ref>{{citation |url=http://www.freebsd.org/cgi/man.cgi?sound |title=sound |publisher=Freebsd.org |date=2009-07-13 |access-date=2012-01-08}}</ref> It gradually evolved from the "newpcm" replacement written in 1999 and caught up with OSS4 API around 2005.<ref name=fbsd/> [[NetBSD]] supports a compatibility mode for the OSS API, by providing the <code>soundcard.h</code> header file and the <code>libossaudio</code> library, which internally operate using the native Sun-like audio interface. The replacement was first seen in NetBSD 1.3 of 1998.<ref name="NetBSDman"/> Linux had, as aforementioned, switched to [[Advanced Linux Sound Architecture]] since 2003 (kernel 2.6). ALSA provides an optional, in-kernel, OSS emulation mode that appears to programs as if it were OSS.<ref>{{citation|url=http://www.alsa-project.org/~tiwai/OSS-Emulation.html|title=OSS Emulation|access-date=2012-07-07|archive-url=https://web.archive.org/web/20120605094307/http://www.alsa-project.org/~tiwai/OSS-Emulation.html|archive-date=2012-06-05|url-status=dead}}</ref> ALSA also has a ''aoss'' userspace program that works by intercepting systems calls directed to the OSS device files.<ref>{{cite web |title=aoss(1) β Arch manual pages |url=https://man.archlinux.org/man/extra/alsa-oss/aoss.1.en |website=man.archlinux.org}}</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)