Multiplexer control functions.


Detailed Description

These functions support multiplexer type operations.


Functions

ASX32_API ASX_ERROR ASX_Multiplexer_Enumerate (ASX_HANDLE hMux, const int nIndex, enum asxNODE *peNode, int *pnNodeIndex, int *pnCount)
 Enumerate each multiplexer option.
ASX32_API ASX_ERROR ASX_Multiplexer_Get (ASX_HANDLE hMux, enum asxNODE *peNode, int *pnNodeIndex)
 Get the current multiplexer setting.
ASX32_API ASX_ERROR ASX_Multiplexer_Set (ASX_HANDLE hMux, const enum asxNODE eNode, const int nNodeIndex)
 Set the multiplexer.


Function Documentation

ASX32_API ASX_ERROR ASX_Multiplexer_Enumerate ASX_HANDLE  hMux,
const int  nIndex,
enum asxNODE peNode,
int *  pnNodeIndex,
int *  pnCount
 

Enumerate each multiplexer option.

Returns each multiplexer option in terms of a node type and an index. For example, if value selections are Line Ins 1-4, this function will return asxNODE_LINE_IN with the nNodeIndex value set to 0-3. To find all available settings, this function should be called repeatedly with incrememnting values on nIndex until an error is returned.

Parameters:
hMux A handle to an ASX multiplexer control.
nIndex The index of the multiplexer option to fetch.
peNode The returned multiplexer node. See asxNODE for available nodes.
pnNodeIndex The returned node index.
pnCount The total number of available multiplexer settings.
Returns:
Returns 0 if there is no error, otherwise one of asxERROR is returned.
Examples:
mux/main.c.

ASX32_API ASX_ERROR ASX_Multiplexer_Get ASX_HANDLE  hMux,
enum asxNODE peNode,
int *  pnNodeIndex
 

Get the current multiplexer setting.

Parameters:
hMux A handle to an ASX multiplexer control.
peNode The returned node. See asxNODE for available nodes.
pnNodeIndex The returned node index.
Returns:
Returns 0 if there is no error, otherwise one of asxERROR is returned.
Examples:
mux/main.c.

ASX32_API ASX_ERROR ASX_Multiplexer_Set ASX_HANDLE  hMux,
const enum asxNODE  eNode,
const int  nNodeIndex
 

Set the multiplexer.

Parameters:
hMux A handle to an ASX multiplexer control.
eNode The node to set the multiplexer to. See asxNODE for available nodes.
nNodeIndex The node index to set.
Returns:
Returns 0 if there is no error, otherwise one of asxERROR is returned.
Examples:
dual_mono_record/main.c.


Generated on Tue Nov 18 13:03:41 2008 for ASX by  doxygen 1.4.6-NO