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

Enumerated mixer control MIXT_ENUM


The MIXT_ENUM control type is used for mixer controls that implement "enumerated" controls. The mixer application should use the SNDCTL_MIX_ENUMINFO ioctl all to obtain the "labels" for the possible values of the control.

The mixer control values are mapped to the choice names so that control value of 0 equals the first choice name and maxvalue-1 equals to the last choice.

For example a mixer control that selects the syncronization source for a sound card may have values such as 0="INTERNAL", 1="WORDCLOCK" or 2="SPIDIF".

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