This page contains a summary of all the control methods for the MSSMixer control. For a full description of each method, see the following pages.
Methods to make it as easy as possible to select channels and set volumes
SHORT error = GetGenericVolume (
[in] SHORT destType,
[in] SHORT sourceType,
[out] SINGLE leftVolumePercent,
[out] SINGLE rightVolumePercent
)
SHORT error = SetGenericVolume (
[in] SHORT destType,
[in] SHORT sourceType,
[in] SINGLE leftVolumePercent,
[in] SINGLE rightVolumePercent
)
SHORT error = GetGenericSelect (
[in] SHORT destType,
[in] SHORT sourceType,
[out] SHORT selected
)
SHORT error = SetGenericSelect (
[in] SHORT destType,
[in] SHORT sourceType,
[in] SHORT select
)
SHORT error = SetGenericSelectAll (
[in] SHORT destType,
[in] SHORT select
)
Methods to find a particular destination, source or control
SHORT error = FindDest (
[in] SHORT destType,
[in] SHORT destTargetType
)
SHORT error = FindSource (
[in] SHORT destType,
[in] SHORT destTargetType,
[in] SHORT sourceType,
[in] SHORT sourceTargetType
)
SHORT error = FindControl (
[in] SHORT destType,
[in] SHORT destTargetType,
[in] SHORT sourceType,
[in] SHORT sourceTargetType,
[in] SHORT controlType
)
Methods to get information about destinations, sources and controls
SHORT error = GetDestInfo (
[out] SHORT destType,
[out] SHORT targetType,
[out] SHORT active,
[out] SHORT disconnected
)
SHORT error = GetSourceInfo (
[out] SHORT sourceType,
[out] SHORT targetType,
[out] SHORT active,
[out] SHORT disconnected
)
SHORT error = GetControlInfo (
[out] SHORT controlType,
[out] SHORT nValues,
[out] SHORT disabled,
[out] LONG minValue,
[out] LONG maxValue
)
Method to set new values for a control
SHORT error = CommitNewControlValue()
Methods to get and set the mixer state
STRING State = GetMixerState (
[out] SHORT error
)
STRING State = GetDestState (
[out] SHORT error
)
STRING State = GetSourceState (
[out] SHORT error
)
STRING State = GetControlState (
[out] SHORT error
)
SHORT error = SetMixerState (
[in] STRING newState
)