1 #ifndef XT_API_CALLBACKS_H
2 #define XT_API_CALLBACKS_H
22 #endif // XT_API_CALLBACKS_H
void(XT_CALLBACK * XtOnXRun)(XtStream const *stream, int32_t index, void *user)
Audio xrun (underrun/overrun) callback.
Definition: Callbacks.h:16
Streaming audio buffer.
Definition: Structs.h:35
uint64_t XtError
Error type.
Definition: Shared.h:26
void(XT_CALLBACK * XtOnError)(char const *message)
Error logging callback.
Definition: Callbacks.h:14
struct XtStream XtStream
opaque audio stream handle
Definition: Shared.h:31
int32_t XtBool
Boolean type.
Definition: Shared.h:25
uint32_t(XT_CALLBACK * XtOnBuffer)(XtStream const *stream, XtBuffer const *buffer, void *user)
Audio stream processing callback.
Definition: Callbacks.h:18
Calling conventions and common data types.
void(XT_CALLBACK * XtOnRunning)(XtStream const *stream, XtBool running, XtError error, void *user)
Audio stream state changed callback.
Definition: Callbacks.h:20
#define XT_CALLBACK
Calling convention.