AudioScience HPI Version_4.10.
Functions

Error codes, and string conversions

Functions

void HPI_GetErrorText (hpi_err_t wError, char *pszErrorText)
 Convert one of the HPI_ERROR_CODES into a string.

Function Documentation

void HPI_GetErrorText ( hpi_err_t  wError,
char *  pszErrorText 
)

Convert one of the HPI_ERROR_CODES into a string.

Parameters:
wErrorthe error code
pszErrorTextpointer to callers buffer. Must be at least 200 bytes!

Use COG <http://nedbatchelder.com/code/cog/index.html> to parse hpi.h and build the body of the HPI_GetErrorText() function. Do not edit manually, instead run 'cog -r [thisfile]' to update it.

References HPI_ERROR_BAD_ADAPTER, HPI_ERROR_BAD_ADAPTER_MODE, HPI_ERROR_BAD_ADAPTER_NUMBER, HPI_ERROR_BAD_CHECKSUM, HPI_ERROR_CONTROL_CACHING, HPI_ERROR_CONTROL_DISABLED, HPI_ERROR_CONTROL_I2C_MISSING_ACK, HPI_ERROR_CONTROL_NOT_READY, HPI_ERROR_CUSTOM, HPI_ERROR_DSP_BOOTLOAD, HPI_ERROR_DSP_COMMUNICATION, HPI_ERROR_DSP_FILE_ACCESS_DENIED, HPI_ERROR_DSP_FILE_FORMAT, HPI_ERROR_DSP_FILE_NO_HEADER, HPI_ERROR_DSP_FILE_NOT_FOUND, HPI_ERROR_DSP_FILE_NULL_HEADER, HPI_ERROR_DSP_FILE_OTHER_ERROR, HPI_ERROR_DSP_FILE_SHARING_VIOLATION, HPI_ERROR_DSP_HARDWARE, HPI_ERROR_DSP_SECTION_NOT_FOUND, HPI_ERROR_DUPLICATE_ADAPTER_NUMBER, HPI_ERROR_ENTITY_ITEM_COUNT, HPI_ERROR_ENTITY_ROLE_INVALID, HPI_ERROR_ENTITY_SIZE_MISMATCH, HPI_ERROR_ENTITY_TYPE_INVALID, HPI_ERROR_ENTITY_TYPE_MISMATCH, HPI_ERROR_I2C_BAD_ADR, HPI_ERROR_INCOMPATIBLE_SAMPLERATE, HPI_ERROR_INVALID_BITRATE, HPI_ERROR_INVALID_CHANNELS, HPI_ERROR_INVALID_CONTROL, HPI_ERROR_INVALID_CONTROL_ATTRIBUTE, HPI_ERROR_INVALID_CONTROL_VALUE, HPI_ERROR_INVALID_DATA_POINTER, HPI_ERROR_INVALID_DATASIZE, HPI_ERROR_INVALID_FORMAT, HPI_ERROR_INVALID_FUNC, HPI_ERROR_INVALID_NODE, HPI_ERROR_INVALID_OBJ, HPI_ERROR_INVALID_OBJ_INDEX, HPI_ERROR_INVALID_OPERATION, HPI_ERROR_INVALID_PACKET_ORDER, HPI_ERROR_INVALID_RESOURCE, HPI_ERROR_INVALID_RESPONSE, HPI_ERROR_INVALID_SAMPLERATE, HPI_ERROR_INVALID_STRING, HPI_ERROR_INVALID_TYPE, HPI_ERROR_MEMORY_ALLOC, HPI_ERROR_MESSAGE_BUFFER_TOO_SMALL, HPI_ERROR_MUTEX_TIMEOUT, HPI_ERROR_NETWORK_TIMEOUT, HPI_ERROR_NETWORK_TOO_MANY_CLIENTS, HPI_ERROR_NO_INTERADAPTER_GROUPS, HPI_ERROR_NO_INTERDSP_GROUPS, HPI_ERROR_NVMEM_BUSY, HPI_ERROR_OBJ_ALREADY_OPEN, HPI_ERROR_OBJ_NOT_OPEN, HPI_ERROR_PLD_LOAD, HPI_ERROR_PROCESSING_MESSAGE, HPI_ERROR_RESERVED_1, HPI_ERROR_RESPONSE_BUFFER_TOO_SMALL, HPI_ERROR_RESPONSE_MISMATCH, HPI_ERROR_TOO_MANY_CAPABILITY_CHANGE_ATTEMPTS, HPI_ERROR_UNIMPLEMENTED, and HPI_ERROR_WAIT_CANCELLED.