Open Sound System
OSS 4.x Programmer's Guide

Do you have problems with sound/audio application development? Don't panic! Click here for help!

MIXT_STEREOSLIDER mixer control type

Stereo volume slider with 8 bit precision MIXT_STEREOSLIDER


This is a stereo volume control/slider with 8 bit precision. The left channel level is stored in the lowest 8 bits of the value field and the right channel level is stored in the next 8 bit byte (0xRRLL).

The MIXT_STEREOSLIDER16 control type can be used for stereo sliders with wider volume range (16 bits). See the Scaling of mixer control values section for more info about the volume encoding.

This mixer control type should not be used in new drivers. Instead the MIXT_STEREOSLIDER16 type should be used.

Copyright (C) 4Front Technologies, 2007. All rights reserved.
Back to index OSS web site