|
ASX Version4.20.14
|
Functions | |
| ASX32_API int | ASX_System_SupportsSubSystem (const int asxSystemType) |
| Query ASX library for subsystem support. | |
| ASX32_API ASX_ERROR | ASX_System_Create (const int asxSystemType, ASX_HANDLE *phSystem) |
| Create a complete ASX system. | |
| ASX32_API ASX_ERROR | ASX_System_CreateSubSystem (const int asxSystemType, ASX_HANDLE *pio_hSystem) |
| Creates an ASX sub system and adds it to the existing system, if any. | |
| ASX32_API ASX_ERROR | ASX_System_SetHostNetworkInterface (const char *szInterface) |
| Set the interface ASX should use when communicating with network devices. | |
| ASX32_API ASX_ERROR | ASX_System_SetAvdeccInterface (const char *szInterface) |
| Set the interface ASX should use when initializing the AVDECC controller. | |
| ASX32_API ASX_ERROR | ASX_System_Delete (ASX_HANDLE hSystem) |
| Delete a complete ASX system. | |
| ASX32_API ASX_ERROR | ASX_System_RegisterErrorCallback (ASX_HANDLE hSystem, ASX_ERROR_CALLBACK *pCallback, void *pUser1, void *pUser2) |
| Register a callback function that should be called when an error is detected. | |
| ASX32_API ASX_ERROR | ASX_System_RegisterAvdeccNotificationCallback (ASX_HANDLE hSystem, ASX_AVDECC_NOTFICATION_CALLBACK *pCallback, void *pUser1, void *pUser2) |
| Register an AVDECC notification callback function that it called by AVDECC library events. | |
| ASX32_API ASX_ERROR | ASX_System_GetName (ASX_HANDLE hSystem, char *pszName, const int nStringLength, int *pnRequiredLength) |
| Gets the name of the ASX system. | |
| ASX32_API ASX_ERROR | ASX_System_GetVersion (ASX_HANDLE hSystem, char *pszSystemVersion, const int nSystemVersionLength, int *pnRequiredSystemVersionLength, char *pszSubSystemVersion, const int nSubSystemVersionLength, int *pnRequiredSubSystemVersionLength) |
| Get ASX system version information. | |
| ASX32_API ASX_ERROR | ASX_System_GetAdapterCount (ASX_HANDLE hSystem, int *pnCount) |
| Get the number of adapters. | |
| ASX32_API ASX_ERROR | ASX_System_GetAdapter (ASX_HANDLE hSystem, const int nAdapter, ASX_HANDLE *p_hAdapter) |
| Get a handle to a specific adapter. | |
| ASX32_API ASX_ERROR | ASX_System_SetMessageLogging (ASX_HANDLE hSystem, const enum asxMSG_LOGGING eLog) |
| Set the message logging level for ASX. | |
| ASX32_API ASX_ERROR | ASX_System_GetMessageLogging (ASX_HANDLE hSystem, enum asxMSG_LOGGING *eLog) |
| Get the message logging level for ASX. | |
| ASX32_API ASX_ERROR | ASX_System_SetCobranetAutoassignParms (const struct asxCobranetIpAutoassignParameters *pCAP) |
| Set the IP address range that will be used for assigning IP addresses to cobranet devices. | |
| ASX32_API ASX_ERROR | ASX_System_GetCobranetAutoassignParms (struct asxCobranetIpAutoassignParameters *pCAP) |
| Get the IP address range that will be used for assigning IP addresses to cobranet devices. | |
| ASX32_API ASX_ERROR ASX_System_Create | ( | const int | asxSystemType, |
| ASX_HANDLE * | phSystem | ||
| ) |
Create a complete ASX system.
This function creates a complete ASX interface of the type specified by asxSystemType. If more than one system type is needed use ASX_System_CreateSubSystem() instead.
| asxSystemType | The ASX system type to open. One of SubSystem types defines above. |
| phSystem | Pointer to the returned system handle. |
| ASX32_API ASX_ERROR ASX_System_CreateSubSystem | ( | const int | asxSystemType, |
| ASX_HANDLE * | pio_hSystem | ||
| ) |
Creates an ASX sub system and adds it to the existing system, if any.
Use this function when creating more than one subsystem.
| asxSystemType | The ASX system type to open. One of SubSystem types defines above. |
| pio_hSystem | Pointer to the system handle. Should be a pointer to NULL for the first call. |
| ASX32_API ASX_ERROR ASX_System_Delete | ( | ASX_HANDLE | hSystem | ) |
Delete a complete ASX system.
The delete function should be called using a previously opened ASX system handle prior to closing an application. Note that when an ASI2416 CobraNet device is in use a call to ASX_System_Delete() triggers a save to ASI2416 flash of any control parameters that might have changed. If this fails for any reason an asxERROR_MIXER_SAVECONTROLSTATE error is returned.
| hSystem | The asx system handle. |
| ASX32_API ASX_ERROR ASX_System_GetAdapter | ( | ASX_HANDLE | hSystem, |
| const int | nAdapter, | ||
| ASX_HANDLE * | p_hAdapter | ||
| ) |
Get a handle to a specific adapter.
This function returns a handle to an adapter object that can then be used to access functionality of the adapter.
| hSystem | A handle to an ASX system object. |
| nAdapter | The index of the adapter. |
| p_hAdapter | The retuned adapter handle. |
| ASX32_API ASX_ERROR ASX_System_GetAdapterCount | ( | ASX_HANDLE | hSystem, |
| int * | pnCount | ||
| ) |
Get the number of adapters.
This function returns the number of recognized sound cards installed in the computer.
| hSystem | A handle to an ASX system object. |
| pnCount | The returned number of adapters. |
| ASX32_API ASX_ERROR ASX_System_GetCobranetAutoassignParms | ( | struct asxCobranetIpAutoassignParameters * | pCAP | ) |
Get the IP address range that will be used for assigning IP addresses to cobranet devices.
| pCAP | Pointer to the asxCobranetIpAutoassignParameters structure that receives the IP autoassign parameters. |
| ASX32_API ASX_ERROR ASX_System_GetMessageLogging | ( | ASX_HANDLE | hSystem, |
| enum asxMSG_LOGGING * | eLog | ||
| ) |
Get the message logging level for ASX.
| hSystem | A handle to an ASX system object. |
| eLog | The error logging level. see asxMSG_LOGGING for options |
| ASX32_API ASX_ERROR ASX_System_GetName | ( | ASX_HANDLE | hSystem, |
| char * | pszName, | ||
| const int | nStringLength, | ||
| int * | pnRequiredLength | ||
| ) |
Gets the name of the ASX system.
This function returns the name of the audio substem currently being used underneath ASX, for example, "HPI" would be returned if ASX was being run using the AudioScience HPI driver.
| hSystem | The asx system handle. |
| pszName | The string to use to copy the returned adapter name to. Typical return values are:
|
| nStringLength | The length of the string szString that was passed in. |
| pnRequiredLength | The minimum required length in bytes of szString. |
| ASX32_API ASX_ERROR ASX_System_GetVersion | ( | ASX_HANDLE | hSystem, |
| char * | pszSystemVersion, | ||
| const int | nSystemVersionLength, | ||
| int * | pnRequiredSystemVersionLength, | ||
| char * | pszSubSystemVersion, | ||
| const int | nSubSystemVersionLength, | ||
| int * | pnRequiredSubSystemVersionLength | ||
| ) |
Get ASX system version information.
This function returns version information in two strings.
| hSystem | A handle to an ASX system object. |
| pszSystemVersion | The ASX version returned as a string. |
| nSystemVersionLength | The length of pszSystemVersion in bytes. |
| pnRequiredSystemVersionLength | The minimum required length of pszSystemVersion in bytes. |
| pszSubSystemVersion | The ASX subsystem version returned as a string. This is the version number of the HPI,Wave or ALSA (etc.) driver. |
| nSubSystemVersionLength | The length in bytes of pszSubSystemVersion. |
| pnRequiredSubSystemVersionLength | The minimum required length in bytes of pszSubSystemVersion. |
| ASX32_API ASX_ERROR ASX_System_RegisterAvdeccNotificationCallback | ( | ASX_HANDLE | hSystem, |
| ASX_AVDECC_NOTFICATION_CALLBACK * | pCallback, | ||
| void * | pUser1, | ||
| void * | pUser2 | ||
| ) |
Register an AVDECC notification callback function that it called by AVDECC library events.
Note that using this function is optional.
| hSystem | A handle to an ASX system object. |
| pCallback | A pointer to a callback of type ASX_AVDECC_NOTFICATION_CALLBACK. |
| pUser1 | A user defined pointer that is passed back when a callback occurs. |
| pUser2 | A user defined pointer that is passed back when an callback occurs. |
| ASX32_API ASX_ERROR ASX_System_RegisterErrorCallback | ( | ASX_HANDLE | hSystem, |
| ASX_ERROR_CALLBACK * | pCallback, | ||
| void * | pUser1, | ||
| void * | pUser2 | ||
| ) |
Register a callback function that should be called when an error is detected.
Note that using this function is optional. ASX_Error_GetLast() can be used after each call, or the error return value of each call may be checked. The callback function itself should use ASX_Error_GetLast() to figure out what error was actually generated.
| hSystem | A handle to an ASX system object. |
| pCallback | A pointer to a callback of type ASX_ERROR_CALLBACK. |
| pUser1 | A user defined pointer that is passed back when an error occurs. |
| pUser2 | A user defined pointer that is passed back when an error occurs. |
| ASX32_API ASX_ERROR ASX_System_SetAvdeccInterface | ( | const char * | szInterface | ) |
Set the interface ASX should use when initializing the AVDECC controller.
This function should be called before ASX_System_Create().
| szInterface | The AVDECC interface string to use. |
| ASX32_API ASX_ERROR ASX_System_SetCobranetAutoassignParms | ( | const struct asxCobranetIpAutoassignParameters * | pCAP | ) |
Set the IP address range that will be used for assigning IP addresses to cobranet devices.
This function should be called before the ASX_SYSTEM_TYPE_SNMP is create with ASX_System_Create() or ASX_System_CreateSubSystem().
| pCAP | Pointer to the asxCobranetIpAutoassignParameters structure that contains the IP autoassign parameters. |
| ASX32_API ASX_ERROR ASX_System_SetHostNetworkInterface | ( | const char * | szInterface | ) |
Set the interface ASX should use when communicating with network devices.
This function should be called before ASX_System_Create().
| szInterface | The network interface to use. For Windows this is the IP address of the form "192.168.1.13". |
| ASX32_API ASX_ERROR ASX_System_SetMessageLogging | ( | ASX_HANDLE | hSystem, |
| const enum asxMSG_LOGGING | eLog | ||
| ) |
Set the message logging level for ASX.
| hSystem | A handle to an ASX system object. |
| eLog | The error logging level to set. |
| ASX32_API int ASX_System_SupportsSubSystem | ( | const int | asxSystemType | ) |
Query ASX library for subsystem support.
Indicate if this instance of ASX library supports the given subsystem type.
| asxSystemType | The ASX system type to query. One of SubSystem types defines above. |
1.7.3