- 1 Introduction
- 2 Features
- 3 Source Code
- 3.1 Requirements to build the source code:
- 3.2 Building the OSS sound system from source
- 4 API Documentation
- 5 Configuring Applications for OSSv4
Open Sound System is an audio subsystem that provides a cross platform API and device drivers for most consumer and professional audio devices for UNIX® and POSIX based operating systems, including Linux. Owing to its open architecture, applications developed on one supporting operating system platform can be easily recompiled on any other platform. Open Sound System on Solaris supports x86, AMD64 and Sparc processors. It also provides support for the Solaris Audio API (SADA or commonly known as devaudio). SADA applications will transparently run on top of Open Sound System drivers and will co-exist with OSS API compatible applications.
- Supported audio formats
- Supports 8/16/24/32 bits/sample audio formats
- Supports sampling rates from 8KHz up to 192KHz
- Supports mono, stereo, quad, 5.1, 7.1 and multichannel audio devices
- Transparent Software based Audio Mixer
- Allows applications to share the same "real" audio device regardless of what format is requested by the application.
- Supports recording and full duplex in addition to playback.
- Ability to mix stereo and multichannel audio streams up to 7.1/192Khz/32bit.
- Supports full 24 bit range without loss of precision during internal computations.
- Each application has its own independant volume controls.
- Supports loop back recording. This enables you to "record-what-you-hear". Typically this is useful for recording streaming audio or trapping audio from applications
- 64bit internal processing guarantees audio fidelity and precision if the audio data needs to be converted.
- New device enumeration and mixer API makes it very easy to manage devices programatically.
Open Sound System is available under GPLv2/CDDLv1/BSD at: http://www.4front-tech.com/developer/sources/stable/
Requirements to build the source code:
- OS: Linux 2.6+, Solaris v10+, FreeBSD 6+, UnixWare7
- OS system headers, development libraries
- Compiler: GCC, Sun Studio 10+, UnixWare C Compiler
- Tools: GNU gawk - (Solaris versions at: http://www.sun.com/software/solaris/freeware/s10pkgs_download.xml) (used for creating man pages)
- Graphics Libraries: Runtime libraries and header files for GTK1 or for GTK2 (used by ossxmix)
- Fakeroot (Optional)
Building the OSS sound system from source
Obtain the latest stable source tarball for the OSS package.
Make the source directory, current
Extract the source tarball:
bunzip2 -c ~/oss-v4.0-build1015-src-gpl.tar.bz2 | tar xvf -
Create a build directory, and make it current:
mkdir ~/oss cd ~/oss
Create a fakeroot environment
Run the configure script: