| | Open Sound System OSS 4.x Programmer's Guide |
OSS legacy mixer interface (obsolete)
The original "legacy" mixer API of OSS was developed about 15 years ago to cover the sound cards on the market at that time. Recent computer sound devices have more fine grained mixer and control panel interface that cannot be mapped to the old mixer interface based on a set of "static" control names and numbers. The old interface is still implemented by many of the oldest OSS drivers. However new applications should use the new interface defined in the OSS Mixer Programming section of this manual.
The following ioctl calls and identifiers were part of the old API. You may still see them in many existing OSS drivers and applications. This interface will not be documented in this manual. However older OSS Programmer's guides are still available if you need to use this interface. This is not recommeded since the legacy mixer API will disappear with the devices that still support it.
- SOUND_MASK_ALTPCM
- SOUND_MASK_ALTPCM
- SOUND_MASK_BASS
- SOUND_MASK_BASS
- SOUND_MASK_CD
- SOUND_MASK_CD
- SOUND_MASK_CENTERVOL
- SOUND_MASK_CENTERVOL
- SOUND_MASK_DEPTH
- SOUND_MASK_DEPTH
- SOUND_MASK_DIGITAL1
- SOUND_MASK_DIGITAL1
- SOUND_MASK_DIGITAL2
- SOUND_MASK_DIGITAL2
- SOUND_MASK_DIGITAL3
- SOUND_MASK_DIGITAL3
- SOUND_MASK_ENHANCE
- SOUND_MASK_ENHANCE
- SOUND_MASK_IGAIN
- SOUND_MASK_IGAIN
- SOUND_MASK_IMIX
- SOUND_MASK_IMIX
- SOUND_MASK_LINE
- SOUND_MASK_LINE
- SOUND_MASK_LINE1
- SOUND_MASK_LINE1
- SOUND_MASK_LINE2
- SOUND_MASK_LINE2
- SOUND_MASK_LINE3
- SOUND_MASK_LINE3
- SOUND_MASK_LOUD
- SOUND_MASK_LOUD
- SOUND_MASK_MIC
- SOUND_MASK_MIC
- SOUND_MASK_MONO
- SOUND_MASK_MONO
- SOUND_MASK_MUTE
- SOUND_MASK_MUTE
- SOUND_MASK_OGAIN
- SOUND_MASK_OGAIN
- SOUND_MASK_PCM
- SOUND_MASK_PCM
- SOUND_MASK_PHONE
- SOUND_MASK_PHONE
- SOUND_MASK_RADIO
- SOUND_MASK_RADIO
- SOUND_MASK_REARVOL
- SOUND_MASK_REARVOL
- SOUND_MASK_RECLEV
- SOUND_MASK_RECLEV
- SOUND_MASK_SIDEVOL
- SOUND_MASK_SIDEVOL
- SOUND_MASK_SPEAKER
- SOUND_MASK_SPEAKER
- SOUND_MASK_SURRVOL
- SOUND_MASK_SURRVOL
- SOUND_MASK_SYNTH
- SOUND_MASK_SYNTH
- SOUND_MASK_TREBLE
- SOUND_MASK_TREBLE
- SOUND_MASK_VIDEO
- SOUND_MASK_VIDEO
- SOUND_MASK_VOLUME
- SOUND_MASK_VOLUME
- SOUND_MIXER_3DSE
- SOUND_MIXER_AGC
- SOUND_MIXER_ALTPCM
- SOUND_MIXER_BASS
- SOUND_MIXER_CAPS
- SOUND_MIXER_CD
- SOUND_MIXER_CENTERVOL
- SOUND_MIXER_DEPTH
- SOUND_MIXER_DEVMASK
- SOUND_MIXER_DIGITAL1
- SOUND_MIXER_DIGITAL2
- SOUND_MIXER_DIGITAL3
- SOUND_MIXER_ENHANCE
- SOUND_MIXER_GETLEVELS
- SOUND_MIXER_IGAIN
- SOUND_MIXER_IMIX
- SOUND_MIXER_INFO
- SOUND_MIXER_LINE
- SOUND_MIXER_LINE1
- SOUND_MIXER_LINE2
- SOUND_MIXER_LINE3
- SOUND_MIXER_LOUD
- SOUND_MIXER_MIC
- SOUND_MIXER_MONO
- SOUND_MIXER_MUTE
- SOUND_MIXER_NONE
- SOUND_MIXER_NRDEVICES
- SOUND_MIXER_OGAIN
- SOUND_MIXER_OUTMASK
- SOUND_MIXER_OUTSRC
- SOUND_MIXER_PCM
- SOUND_MIXER_PHONE
- SOUND_MIXER_PRIVATE1
- SOUND_MIXER_PRIVATE2
- SOUND_MIXER_PRIVATE3
- SOUND_MIXER_PRIVATE4
- SOUND_MIXER_PRIVATE5
- SOUND_MIXER_RADIO
- SOUND_MIXER_READ_ALTPCM
- SOUND_MIXER_READ_BASS
- SOUND_MIXER_READ_CAPS
- SOUND_MIXER_READ_CD
- SOUND_MIXER_READ_DEVMASK
- SOUND_MIXER_READ_ENHANCE
- SOUND_MIXER_READ_IGAIN
- SOUND_MIXER_READ_IMIX
- SOUND_MIXER_READ_LINE
- SOUND_MIXER_READ_LINE1
- SOUND_MIXER_READ_LINE2
- SOUND_MIXER_READ_LINE3
- SOUND_MIXER_READ_LOUD
- SOUND_MIXER_READ_MAINVOL
- SOUND_MIXER_READ_MIC
- SOUND_MIXER_READ_MONGAIN
- SOUND_MIXER_READ_MUTE
- SOUND_MIXER_READ_OGAIN
- SOUND_MIXER_READ_PCM
- SOUND_MIXER_READ_RECGAIN
- SOUND_MIXER_READ_RECLEV
- SOUND_MIXER_READ_RECMASK
- SOUND_MIXER_READ_RECSRC
- SOUND_MIXER_READ_SPEAKER
- SOUND_MIXER_READ_STEREODEVS
- SOUND_MIXER_READ_SYNTH
- SOUND_MIXER_READ_TREBLE
- SOUND_MIXER_READ_VOLUME
- SOUND_MIXER_REARVOL
- SOUND_MIXER_RECLEV
- SOUND_MIXER_RECMASK
- SOUND_MIXER_RECSRC
- SOUND_MIXER_RESERVED
- SOUND_MIXER_SETLEVELS
- SOUND_MIXER_SIDEVOL
- SOUND_MIXER_SPEAKER
- SOUND_MIXER_STEREODEVS
- SOUND_MIXER_SURRVOL
- SOUND_MIXER_SYNTH
- SOUND_MIXER_TREBLE
- SOUND_MIXER_VIDEO
- SOUND_MIXER_VOLUME
- SOUND_MIXER_WRITE_ALTPCM
- SOUND_MIXER_WRITE_BASS
- SOUND_MIXER_WRITE_CD
- SOUND_MIXER_WRITE_ENHANCE
- SOUND_MIXER_WRITE_IGAIN
- SOUND_MIXER_WRITE_IMIX
- SOUND_MIXER_WRITE_LINE
- SOUND_MIXER_WRITE_LINE1
- SOUND_MIXER_WRITE_LINE2
- SOUND_MIXER_WRITE_LINE3
- SOUND_MIXER_WRITE_LOUD
- SOUND_MIXER_WRITE_MAINVOL
- SOUND_MIXER_WRITE_MIC
- SOUND_MIXER_WRITE_MONGAIN
- SOUND_MIXER_WRITE_MUTE
- SOUND_MIXER_WRITE_OGAIN
- SOUND_MIXER_WRITE_PCM
- SOUND_MIXER_WRITE_RECGAIN
- SOUND_MIXER_WRITE_RECLEV
- SOUND_MIXER_WRITE_RECSRC
- SOUND_MIXER_WRITE_SPEAKER
- SOUND_MIXER_WRITE_SYNTH
- SOUND_MIXER_WRITE_TREBLE
- SOUND_MIXER_WRITE_VOLUME
How to replace the legacy mixer API in audio applications
Audio/media players have traditionally used the legacy mixer API to control certain settings of the audio device. With OSS 4.0 the recording source selection as well as playback and recording level control can be handled locally using features of the audio API. Even the mixer may have controls for these purposes they should not be used from audio applications. You can find the descriptions of the following ioctl calls from the Audio Programming section of this manual.
Copyright (C) 4Front Technologies, 2007. All rights reserved. Back to index OSS web site