55void StreamerStart (
const char *host,
int port,
TTicks bufferDuration);
66#define STREAMER_LEVEL_UNKNOWN -INT_MAX
Dynamically allocated string.
int64_t TTicks
Time value (relative, absolute, or monotonic).
int StreamerGetDbLevel()
Return the current level in DB (<= 0, 0 = maximum) or STREAMER_LEVEL_UNKNOWN (= -INT_MAX / very,...
EStreamerState
State of the streamer.
const char * StreamerGetError(CString *s)
Return readable error message and reset the text internally.
static bool StreamerStateIsActive(EStreamerState s)
Active states are those requiring eventual calls to 'StreamerIterate'. 'StreamerStop' reliably switch...
@ strError
Connection failed or other error.
@ strBusy
Connecting or buffering.
@ strOff
No background thread, hands off the audio device.
@ strOn
Audio should be hearable.