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

Mono peak meter control MIXT_MONOPEAK

Description

This control is one channel peak meter and always read only (cannot be written). The returned value is the largest linear 8 bit sample value (0-255) that has been measured since the previous read of the control. After each read the accumulated value will be automatically reset back to zero.

The value is returned in the lowest byte of the value field.

MIXT_STEREOPEAK is the stereo (two channel) version of this control. If the device supports more than two channels then the driver will create multiple stereo or mono peak meters (depending on the nature of the device).



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