XT-Audio
Functions
XtPrint.h File Reference

Datatype to text conversions. More...

Go to the source code of this file.

Functions

char const * XtPrintCause (XtCause cause)
 Convert a cause to a human-readable string. More...
 
char const * XtPrintSetup (XtSetup setup)
 Convert a setup to a human-readable string. More...
 
char const * XtPrintSystem (XtSystem system)
 Convert a system to a human-readable string. More...
 
char const * XtPrintSample (XtSample sample)
 Convert a sample to a human-readable string. More...
 
char const * XtPrintEnumFlags (XtEnumFlags flags)
 Convert device enumeration flags to a human-readable string. More...
 
char const * XtPrintErrorInfo (XtErrorInfo const *info)
 Convert error information to a human-readable string. More...
 
char const * XtPrintDeviceCaps (XtDeviceCaps capabilities)
 Convert device capabilities to a human-readable string. More...
 
char const * XtPrintServiceCaps (XtServiceCaps capabilities)
 Convert service capabilities to a human-readable string. More...
 

Detailed Description

Datatype to text conversions.

Contains functions to print datatypes to a human readably representation. Note that values returned by the XtPrint* functions are meant as a help to developers and are not intended to be shown to end users.

Function Documentation

const char * XtPrintCause ( XtCause  cause)

Convert a cause to a human-readable string.

Parameters
causethe cause value.
Returns
a pointer to a statically allocated string.

This function may be called from any thread.

const char * XtPrintDeviceCaps ( XtDeviceCaps  capabilities)

Convert device capabilities to a human-readable string.

Parameters
capabilitiesthe device capabilities value.
Returns
a pointer to a statically allocated string.

This function may be called from any thread.

const char * XtPrintEnumFlags ( XtEnumFlags  flags)

Convert device enumeration flags to a human-readable string.

Parameters
flagsthe enumeration flags value.
Returns
a pointer to a statically allocated string.

This function may be called from any thread.

const char * XtPrintErrorInfo ( XtErrorInfo const *  error)

Convert error information to a human-readable string.

Parameters
errorthe error details.
Returns
a pointer to a statically allocated string.

This function may be called from any thread.

const char * XtPrintSample ( XtSample  sample)

Convert a sample to a human-readable string.

Parameters
samplethe sample value.
Returns
a pointer to a statically allocated string.

This function may be called from any thread.

const char * XtPrintServiceCaps ( XtServiceCaps  capabilities)

Convert service capabilities to a human-readable string.

Parameters
capabilitiesthe service capabilities value.
Returns
a pointer to a statically allocated string.

This function may be called from any thread.

const char * XtPrintSetup ( XtSetup  setup)

Convert a setup to a human-readable string.

Parameters
setupthe setup value.
Returns
a pointer to a statically allocated string.

This function may be called from any thread.

const char * XtPrintSystem ( XtSystem  system)

Convert a system to a human-readable string.

Parameters
systemthe system value.
Returns
a pointer to a statically allocated string.

This function may be called from any thread.