|
ASX Version4.20.14
|
The mixer functions are used to access mixer nodes and controls. More...
Functions | |
| ASX32_API ASX_ERROR | ASX_Mixer_ResetControls (ASX_HANDLE hMixer) |
| This function sets all the controls in the mixer to a known state. | |
| ASX32_API ASX_ERROR | ASX_Mixer_GetSourceNodeCount (ASX_HANDLE hMixer, int *pnCount) |
| This function returns the nunber of source nodes in the mixer. | |
| ASX32_API ASX_ERROR | ASX_Mixer_GetSourceNode (ASX_HANDLE hMixer, const int nSourceNode, ASX_HANDLE *p_hNode) |
| This function gets the handle of a particular source node. | |
| ASX32_API ASX_ERROR | ASX_Mixer_GetDestinationNodeCount (ASX_HANDLE hMixer, int *pnCount) |
| This function returns the nunber of destination nodes in the mixer. | |
| ASX32_API ASX_ERROR | ASX_Mixer_GetDestinationNode (ASX_HANDLE hMixer, const int nDestinationNode, ASX_HANDLE *p_hNode) |
| This function gets the handle of the specified destination node. | |
| ASX32_API ASX_ERROR | ASX_Mixer_GetNodeByType (ASX_HANDLE hMixer, const enum asxNODE eType, const int nIndex, ASX_HANDLE *p_hNode) |
| Get a node by type. | |
| ASX32_API ASX_ERROR | ASX_Mixer_GetNodeTypeCount (ASX_HANDLE hMixer, const enum asxNODE eType, int *pnCount) |
| Get the number of nodes of the specified type. | |
| ASX32_API ASX_ERROR | ASX_Mixer_GetControlCount (ASX_HANDLE hMixer, int *pnControls) |
| This function returns the total number of controls in the mixer. | |
| ASX32_API ASX_ERROR | ASX_Mixer_GetControl (ASX_HANDLE hMixer, const int nControl, ASX_HANDLE *p_hControlBase) |
| Given a control index, this function returns a handle to the specified control. | |
| ASX32_API ASX_ERROR | ASX_Mixer_GetControlByNode (const ASX_HANDLE hMixer, const ASX_HANDLE hSourceNode, const ASX_HANDLE hDestinationNode, const enum asxCONTROL eControlType, ASX_HANDLE *p_hControlBase) |
| Given source and destination node handles as well as the control type, return the specified control. | |
| ASX32_API ASX_ERROR | ASX_Mixer_GetControlByNodeTypeAndIndex (ASX_HANDLE hMixer, const enum asxNODE nSourceNodeType, const int nSourceIndex, const enum asxNODE nDestinationNodeType, const int nDestinationIndex, const enum asxCONTROL eControlType, ASX_HANDLE *p_hControlBase) |
| Given source and destination node specifications as well as the control type, return the specified control. | |
| ASX32_API ASX_ERROR | ASX_Mixer_GetControlByLocationAndIndex (ASX_HANDLE hMixer, const enum asxNODE nSourceNodeType, const int nSourceIndex, const enum asxNODE nDestinationNodeType, const int nDestinationIndex, const enum asxCONTROL eControlType, const int nControlIndex, ASX_HANDLE *p_hControlBase) |
| Given source and destination node specifications as well as the control type, return the specified control. | |
| ASX32_API ASX_ERROR | ASX_Mixer_GetBlockControlByNodeTypeAndIndex (ASX_HANDLE hMixer, const enum asxNODE nSourceNodeType, const int nSourceIndex, const enum asxNODE nDestinationNodeType, const int nDestinationIndex, const char *pszBlockName, ASX_HANDLE *p_hControlBase) |
| Given source and destination node specifications as well as the block control name, return the specified control. | |
The mixer functions are used to access mixer nodes and controls.
| ASX32_API ASX_ERROR ASX_Mixer_GetBlockControlByNodeTypeAndIndex | ( | ASX_HANDLE | hMixer, |
| const enum asxNODE | nSourceNodeType, | ||
| const int | nSourceIndex, | ||
| const enum asxNODE | nDestinationNodeType, | ||
| const int | nDestinationIndex, | ||
| const char * | pszBlockName, | ||
| ASX_HANDLE * | p_hControlBase | ||
| ) |
Given source and destination node specifications as well as the block control name, return the specified control.
| hMixer | A handle to an ASX mixer object. |
| nSourceNodeType | The type of the ASX source node object. Typically this will be set to one of asxNODE. The type may be set to asxNODE_NONE (or 0) if the requested control does not have a source node. |
| nSourceIndex | The source node index. This may be set to 0 if the requested control does not have a source node. |
| nDestinationNodeType | The type of the ASX destination node object. Typically this will be set to one of asxNODE. The type may be set to asxNODE_NONE (or 0) if the requested control does not have a destination node. |
| nDestinationIndex | The destination node index. This may be set to 0 if the requested control does not have a destination node. |
| pszBlockName | The block control name. |
| p_hControlBase | The returned ASX control handle. |
| ASX32_API ASX_ERROR ASX_Mixer_GetControl | ( | ASX_HANDLE | hMixer, |
| const int | nControl, | ||
| ASX_HANDLE * | p_hControlBase | ||
| ) |
Given a control index, this function returns a handle to the specified control.
| hMixer | A handle to an ASX mixer object. |
| nControl | The index of the control handle to return. |
| p_hControlBase | The returned ASX control handle. |
| ASX32_API ASX_ERROR ASX_Mixer_GetControlByLocationAndIndex | ( | ASX_HANDLE | hMixer, |
| const enum asxNODE | nSourceNodeType, | ||
| const int | nSourceIndex, | ||
| const enum asxNODE | nDestinationNodeType, | ||
| const int | nDestinationIndex, | ||
| const enum asxCONTROL | eControlType, | ||
| const int | nControlIndex, | ||
| ASX_HANDLE * | p_hControlBase | ||
| ) |
Given source and destination node specifications as well as the control type, return the specified control.
| hMixer | A handle to an ASX mixer object. |
| nSourceNodeType | The type of the ASX source node object. Typically this will be set to one of asxNODE. The type may be set to asxNODE_NONE (or 0) if the requested control does not have a source node. |
| nSourceIndex | The source node index. This may be set to 0 if the requested control does not have a source node. |
| nDestinationNodeType | The type of the ASX destination node object. Typically this will be set to one of asxNODE. The type may be set to asxNODE_NONE (or 0) if the requested control does not have a destination node. |
| nDestinationIndex | The destination node index. This may be set to 0 if the requested control does not have a destination node. |
| eControlType | The control type. Should be set to one of asxCONTROL. |
| nControlIndex | The control index (zero based). If multiple controls of the same type are present on the given nodes they can be retrieved using this parameter. |
| p_hControlBase | The returned ASX control handle. |
| ASX32_API ASX_ERROR ASX_Mixer_GetControlByNode | ( | const ASX_HANDLE | hMixer, |
| const ASX_HANDLE | hSourceNode, | ||
| const ASX_HANDLE | hDestinationNode, | ||
| const enum asxCONTROL | eControlType, | ||
| ASX_HANDLE * | p_hControlBase | ||
| ) |
Given source and destination node handles as well as the control type, return the specified control.
| hMixer | A handle to an ASX mixer object. |
| hSourceNode | A handle to an ASX source node object. This handle may be set to asxNODE_NONE (or 0) if the requested control does not have a source node. |
| hDestinationNode | A handle to an ASX destination node object. This handle may be set to asxNODE_NONE (or 0) if the requested control does not have a destination node. |
| eControlType | The control type. Should be set to one of asxCONTROL. |
| p_hControlBase | The returned ASX control handle. |
| ASX32_API ASX_ERROR ASX_Mixer_GetControlByNodeTypeAndIndex | ( | ASX_HANDLE | hMixer, |
| const enum asxNODE | nSourceNodeType, | ||
| const int | nSourceIndex, | ||
| const enum asxNODE | nDestinationNodeType, | ||
| const int | nDestinationIndex, | ||
| const enum asxCONTROL | eControlType, | ||
| ASX_HANDLE * | p_hControlBase | ||
| ) |
Given source and destination node specifications as well as the control type, return the specified control.
| hMixer | A handle to an ASX mixer object. |
| nSourceNodeType | The type of the ASX source node object. Typically this will be set to one of asxNODE. The type may be set to asxNODE_NONE (or 0) if the requested control does not have a source node. |
| nSourceIndex | The source node index. This may be set to 0 if the requested control does not have a source node. |
| nDestinationNodeType | The type of the ASX destination node object. Typically this will be set to one of asxNODE. The type may be set to asxNODE_NONE (or 0) if the requested control does not have a destination node. |
| nDestinationIndex | The destination node index. This may be set to 0 if the requested control does not have a destination node. |
| eControlType | The control type. Should be set to one of asxCONTROL. |
| p_hControlBase | The returned ASX control handle. |
| ASX32_API ASX_ERROR ASX_Mixer_GetControlCount | ( | ASX_HANDLE | hMixer, |
| int * | pnControls | ||
| ) |
This function returns the total number of controls in the mixer.
| hMixer | A handle to an ASX mixer object. |
| pnControls | The returned number of controls. |
| ASX32_API ASX_ERROR ASX_Mixer_GetDestinationNode | ( | ASX_HANDLE | hMixer, |
| const int | nDestinationNode, | ||
| ASX_HANDLE * | p_hNode | ||
| ) |
This function gets the handle of the specified destination node.
| hMixer | A handle to an ASX mixer object. |
| nDestinationNode | The index of the destination node to get. This should be a number in the range of 0 to the total count returned by ASX_Mixer_GetDestinationNodeCount(). |
| p_hNode | The returned destination node handle. |
| ASX32_API ASX_ERROR ASX_Mixer_GetDestinationNodeCount | ( | ASX_HANDLE | hMixer, |
| int * | pnCount | ||
| ) |
This function returns the nunber of destination nodes in the mixer.
| hMixer | A handle to an ASX mixer object. |
| pnCount | The retuned number of destination nodes. |
| ASX32_API ASX_ERROR ASX_Mixer_GetNodeByType | ( | ASX_HANDLE | hMixer, |
| const enum asxNODE | eType, | ||
| const int | nIndex, | ||
| ASX_HANDLE * | p_hNode | ||
| ) |
Get a node by type.
This function searches all mixer nodes for a node of a particular type and index. This function could be used to find a "LineOut" 1 node for example.
| hMixer | A handle to an ASX mixer object. |
| eType | The node type to get. This should be set to one of asxNODE. |
| nIndex | The index of the node to get. If the adapter has 4 line outs, for example, and nType is set to asxNODE_LINE_OUT, then the valid range for nIndex would be 0-3. |
| p_hNode | The returned destination node handle. |
| ASX32_API ASX_ERROR ASX_Mixer_GetNodeTypeCount | ( | ASX_HANDLE | hMixer, |
| const enum asxNODE | eType, | ||
| int * | pnCount | ||
| ) |
Get the number of nodes of the specified type.
This function returns the number of nodes of the specified type in the mixer. For example, an adapter with 4 line outs would return 4 when nType is set to asxNODE_LINE_OUT.
| hMixer | A handle to an ASX mixer object. |
| eType | The node type to get. This should be set to one of asxNODE. |
| pnCount | The retunred number of nodes of type nType. |
| ASX32_API ASX_ERROR ASX_Mixer_GetSourceNode | ( | ASX_HANDLE | hMixer, |
| const int | nSourceNode, | ||
| ASX_HANDLE * | p_hNode | ||
| ) |
This function gets the handle of a particular source node.
| hMixer | A handle to an ASX mixer object. |
| nSourceNode | The index of the source node to get. This should be a number in the range of 0 to the total count returned by ASX_Mixer_GetSourceNodeCount(). |
| p_hNode | The returned source node handle. |
| ASX32_API ASX_ERROR ASX_Mixer_GetSourceNodeCount | ( | ASX_HANDLE | hMixer, |
| int * | pnCount | ||
| ) |
This function returns the nunber of source nodes in the mixer.
| hMixer | A handle to an ASX mixer object. |
| pnCount | The retuned number of source nodes. |
| ASX32_API ASX_ERROR ASX_Mixer_ResetControls | ( | ASX_HANDLE | hMixer | ) |
This function sets all the controls in the mixer to a known state.
| hMixer | A handle to an ASX mixer object. |
1.7.3