34 #endif // XT_API_AUDIO_H
XtVersion XtAudioGetVersion(void)
Get XT-Audio library version.
XtSample
Audio sample format.
Definition: Enums.h:5
struct XtPlatform XtPlatform
opaque platform handle
Definition: Shared.h:33
uint64_t XtError
Error type.
Definition: Shared.h:26
XT-Audio library version information.
Definition: Structs.h:45
XtPlatform * XtAudioInit(char const *id, void *window)
Initialize the XT-Audio library.
void XtAudioSetOnError(XtOnError onError)
Set error logging callback.
char const * XtAudioGetLastAssert(void)
Indicates last internal assertion failure, if any.
void(XT_CALLBACK * XtOnError)(char const *message)
Error logging callback.
Definition: Callbacks.h:14
#define XT_CALL
Calling convention.
Sample type attributes.
Definition: Structs.h:91
int32_t XtBool
Boolean type.
Definition: Shared.h:25
Calling conventions and common data types.
void XtAudioSetAssertTerminates(XtBool terminates)
Indicates whether internal assertion failures should result in std::terminate (true) or be handled by...
Useful error details derived from XtError opaque error code.
Definition: Structs.h:77
XtAttributes XtAudioGetSampleAttributes(XtSample sample)
Get sample attributes for a specific sample type.
XtErrorInfo XtAudioGetErrorInfo(XtError error)
Translate opaque error code to error details.