Error codes, and string conversions


Functions

void HPI_GetErrorText (HPI_ERR wError, char *pszErrorText)
 Convert one of the HPI_ERROR_CODES into a string.
HPI_ERR HPI_DataCreate (HPI_DATA *pData, HPI_FORMAT *pFormat, HW8 *pbData, HW32 dwDataSize)
 Initialize a HPI_DATA structure.

Function Documentation

void HPI_GetErrorText HPI_ERR  wError,
char *  pszErrorText
 

Convert one of the HPI_ERROR_CODES into a string.

Parameters:
wError the error code
pszErrorText pointer to callers buffer. Must be at least 200 bytes!

HPI_ERR HPI_DataCreate HPI_DATA *  pData,
HPI_FORMAT pFormat,
HW8 *  pbData,
HW32  dwDataSize
 

Initialize a HPI_DATA structure.

Deprecated:
HPI_DATA struct may be removed from a future version. To avoid using HPI_DATA switch to using HPI_OutStreamWriteBuf() and HPI_InStreamReadBuf()
Parameters:
pData  [inout] Structure to be initialised
pFormat  [in] format of the data
pbData  [in] pointer to data buffer
dwDataSize  [in] amount of data in buffer


Generated on Thu Aug 5 10:30:27 2010 for AudioScience HPI by  doxygen 1.4.6-NO