Multiplexer control
[Mixer and Controls]

This control allows one of many sources to be connected to a destination Typically used on the instream (record) side to select a record input or on the linein to select analog or digital input. More...

Functions

HPI_ERR HPI_Multiplexer_SetSource (HPI_HSUBSYS *phSubSys, HPI_HCONTROL hControl, HW16 wSourceNodeType, HW16 wSourceNodeIndex)
 Set the signal source that the multiplexer will send to the destination.
HPI_ERR HPI_Multiplexer_GetSource (HPI_HSUBSYS *phSubSys, HPI_HCONTROL hControl, HW16 *wSourceNodeType, HW16 *wSourceNodeIndex)
 Get the signal source that the multiplexer is currently connected to.
HPI_ERR HPI_Multiplexer_QuerySource (HPI_HSUBSYS *phSubSys, HPI_HCONTROL hControl, HW16 wIndex, HW16 *wSourceNodeType, HW16 *wSourceNodeIndex)
 Establish valid source node settings for this multiplexer.

Detailed Description

This control allows one of many sources to be connected to a destination Typically used on the instream (record) side to select a record input or on the linein to select analog or digital input.


Function Documentation

HPI_ERR HPI_Multiplexer_SetSource HPI_HSUBSYS *  phSubSys,
HPI_HCONTROL  hControl,
HW16  wSourceNodeType,
HW16  wSourceNodeIndex
 

Set the signal source that the multiplexer will send to the destination.

Returns:
0 on success, or one of the HPI Error codes.
Parameters:
phSubSys  subsystem handle
hControl  Control handle to type HPI_CONTROL_MULTIPLEXER
wSourceNodeType  source node type - one of HPI_SOURCENODE_XXX Source node types
wSourceNodeIndex  a 0 based index

HPI_ERR HPI_Multiplexer_GetSource HPI_HSUBSYS *  phSubSys,
HPI_HCONTROL  hControl,
HW16 *  wSourceNodeType,
HW16 *  wSourceNodeIndex
 

Get the signal source that the multiplexer is currently connected to.

Returns:
0 on success, or one of the HPI Error codes.
Parameters:
phSubSys  subsystem handle
hControl  Control handle to type HPI_CONTROL_MULTIPLEXER
wSourceNodeType  source node type - one of HPI_SOURCENODE_XXX Source node types
wSourceNodeIndex  a 0 based index

HPI_ERR HPI_Multiplexer_QuerySource HPI_HSUBSYS *  phSubSys,
HPI_HCONTROL  hControl,
HW16  wIndex,
HW16 *  wSourceNodeType,
HW16 *  wSourceNodeIndex
 

Establish valid source node settings for this multiplexer.

Call with wIndex starting at zero, incrementing until a non-zero return value indicates that the current wIndex is invalid, so querying should be terminated.

Returns:
0 on success, or one of the HPI Error codes.
Parameters:
phSubSys  subsystem handle
hControl  Control handle to type HPI_CONTROL_MULTIPLEXER
wIndex  a 0 based index
wSourceNodeType  source node type - one of HPI_SOURCENODE_XXX Source node types
wSourceNodeIndex  a 0 based index


Generated on Tue Nov 18 12:59:31 2008 for AudioScience HPI by  doxygen 1.4.6-NO