1 #ifndef XT_API_STREAM_H
2 #define XT_API_STREAM_H
36 #endif // XT_API_STREAM_H
void XtStreamDestroy(XtStream *s)
Destroys an audio stream.
void XtStreamStop(XtStream *s)
Stops an audio stream.
uint64_t XtError
Error type.
Definition: Shared.h:26
XtBool XtStreamIsInterleaved(XtStream const *s)
Get stream interleaved mode.
XtError XtStreamGetFrames(XtStream const *s, int32_t *frames)
Get maximum stream buffer size.
#define XT_CALL
Calling convention.
struct XtStream XtStream
opaque audio stream handle
Definition: Shared.h:31
int32_t XtBool
Boolean type.
Definition: Shared.h:25
Calling conventions and common data types.
XtBool XtStreamIsRunning(XtStream const *s)
Query stream state.
XtError XtStreamGetLatency(XtStream const *s, XtLatency *latency)
Get the end-to-end latency, if supported by the system.
const XtFormat * XtStreamGetFormat(XtStream const *s)
Get stream format.
XtError XtStreamStart(XtStream *s)
Starts an audio stream.
void * XtStreamGetHandle(XtStream const *s)
Implementation-defined handle to the backend stream.
Stream latency.
Definition: Structs.h:51