This file contains definition of some common audio types.
void pbuf_destroy(struct pbuf *)
void pbuf_insert(struct pbuf *playout_buf, rtp_packet *r)
int pbuf_decode(struct pbuf *playout_buf, time_ns_t curr_time, decode_frame_t decode_func, void *data)
void pbuf_set_playout_delay(struct pbuf *playout_buf, double playout_delay)
int pbuf_is_empty(struct pbuf *playout_buf)
struct pbuf * pbuf_init(volatile int *delay_ms)
void pbuf_remove(struct pbuf *playout_buf, time_ns_t curr_time)
int decode_frame_t(struct coded_data *cdata, void *decode_data, struct pbuf_stats *stats)
struct used to comunicate with audio capture/playback device
size_t frame_size
currently decoded audio frame size (used similarly as vcodec_state::max_frame_size to allow caller ad...
struct state_audio_decoder * decoder
long long int received_pkts_cum
long long int expected_pkts_cum
unsigned int max_frame_size
struct state_video_decoder * decoder