26#if !defined(_SPANDSP_PLAYOUT_H_)
27#define _SPANDSP_PLAYOUT_H_
53#define PLAYOUT_TYPE_CONTROL 0
54#define PLAYOUT_TYPE_SILENCE 1
55#define PLAYOUT_TYPE_SPEECH 2
57typedef int timestamp_t;
67#if defined(__cplusplus)
81SPAN_DECLARE(
int) playout_put(playout_state_t *s,
void *data,
int type, timestamp_t sender_len, timestamp_t sender_stamp, timestamp_t receiver_stamp);
96SPAN_DECLARE(
int) playout_get(playout_state_t *s, playout_frame_t *frame, timestamp_t sender_stamp);
102SPAN_DECLARE(playout_frame_t *) playout_get_unconditional(playout_state_t *s);
107SPAN_DECLARE(timestamp_t) playout_current_length(playout_state_t *s);
114SPAN_DECLARE(timestamp_t) playout_next_due(playout_state_t *s);
135SPAN_DECLARE(
int) playout_release(playout_state_t *s);
140SPAN_DECLARE(
int) playout_free(playout_state_t *s);
142#if defined(__cplusplus)
Definition private/playout.h:30
Definition private/playout.h:52
int max_length
Definition private/playout.h:58
int min_length
Definition private/playout.h:56