ASX Version4.20.14
Functions

Multiplexer control functions

These functions support multiplexer type operations. More...

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.

Detailed Description

These functions support multiplexer type operations.


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:
hMuxA handle to an ASX multiplexer control.
nIndexThe index of the multiplexer option to fetch.
peNodeThe returned multiplexer node. See asxNODE for available nodes.
pnNodeIndexThe returned node index.
pnCountThe 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:
hMuxA handle to an ASX multiplexer control.
peNodeThe returned node. See asxNODE for available nodes.
pnNodeIndexThe 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:
hMuxA handle to an ASX multiplexer control.
eNodeThe node to set the multiplexer to. See asxNODE for available nodes.
nNodeIndexThe node index to set.
Returns:
Returns 0 if there is no error, otherwise one of asxERROR is returned.
Examples:
dual_mono_record/main.c.