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 API is designed to use the traditional Unix framework of open(), read(), write(), and ioctl(), via [[device file]]s. For instance, the default device for sound input and output is '''/dev/dsp'''. Examples using the shell: cat [[/dev/random]] > /dev/dsp # plays [[white noise]] through the speaker cat /dev/dsp > a.a # reads data from the microphone and copies it to file a.a OSS implements the [[/dev/audio]] interface. Detailed access to individual sound devices is provided via the {{tt|/dev/oss}} directory. OSS also has MIDI support in {{tt|/dev/sequencer}}, {{tt|/dev/music}} (both legacy) and {{tt|/dev/mini}}.<ref>{{cite web |title=OSS v4.x API reference - OSS API basics |url=http://manuals.opensound.com/developer/ossapi.html |website=manuals.opensound.com}}</ref><ref>{{cite web |title=Open Sound System (3.x) Programmer's Guide |url=http://www.opensound.com/pguide/oss.pdf |access-date=22 February 2023 |date=2000}}</ref> On Linux, OSS4 is also able to emulate [[Advanced Linux Sound Architecture|ALSA]], its open-source replacement.<ref>{{cite web |title=Tips And Tricks - Open Sound System |url=http://www.opensound.com/wiki/index.php/Tips_And_Tricks#ALSA_Emulation |website=ossnext.trueinstruments.com}}</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)