GetSourceState
Previous  Top  Next


   STRING State = GetSourceState (
            [out] SHORT error
            )

Description

The method returns the states of (that is, the current values of) all controls that are associated with the current source selected by DestNumber and SourceNumber. The state is returned as a plain text string which can be stored and used in the SetMixerState method to reset the controls to the same values.

Return Value and Parameter

The value returned by the method is a string containing the control states. If the control states cannot be evaluated, a zero-length string is returned and the error parameter is an error code indicating the reason.