Google
 

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_STEREOPEAK mixer control type

Stereo peak meter control MIXT_STEREOPEAK

Description

This is a stereo peak meter control that returns the highest linear sample values (0 to 255) measured since the control was previously read. Reading the controls resets the volume counters to zero.

The left channel value is stored in the least significant byte of the value field (bits 0 to 7). Right channel value is stored in bits 8 to 15.

The MIXT_MONOPEAK control is used for mono (one channel) peak meters.



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