Main Page

From Open Sound System
(Difference between revisions)
Jump to: navigation, search
(Building the OSS sound system from source)
(Requirements to build the source code:)
Line 30: Line 30:
 
* Tools: GNU gawk - (Solaris versions at: http://www.sun.com/software/solaris/freeware/s10pkgs_download.xml) (used for creating man pages)
 
* 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)
 
* Graphics Libraries: Runtime libraries and header files for GTK1 or for GTK2 (used by ossxmix)
 +
* Fakeroot (Optional)
  
 
=== Building the OSS sound system from source ===
 
=== Building the OSS sound system from source ===

Revision as of 22:31, 30 March 2008

Contents

Introduction

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.

Features

  • 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.

Source Code

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.

OSS Stable Releases

OSS Current Testing Release

Make the source directory, current

cd /usr/src

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

fakeroot

Run the configure script:

/usr/src/oss-v4.0-build1015-src-gpl/configure

API Documentation

http://www.opensound.com/pguide/

Configuring Applications for OSSv4

Personal tools