From aad857527cd63b5f79786df0c1aab50f4de87774 Mon Sep 17 00:00:00 2001 From: mannol Date: Sat, 14 Feb 2015 23:37:52 +0100 Subject: Control part of new api already kind of works --- toxav/codec.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'toxav/codec.h') diff --git a/toxav/codec.h b/toxav/codec.h index 951d6d2f..de5a6cd1 100644 --- a/toxav/codec.h +++ b/toxav/codec.h @@ -117,7 +117,7 @@ typedef struct _CSSession { int32_t last_pack_channels; int32_t last_packet_sampling_rate; int32_t last_packet_frame_duration; - struct _JitterBuffer *j_buf; + struct JitterBuffer *j_buf; /* Voice activity detection */ @@ -132,6 +132,10 @@ typedef struct _CSSession { */ void *agent; /* Pointer to ToxAV TODO make this pointer to ToxAV*/ int32_t call_idx; + int32_t friend_number; + + PAIR(toxav_receive_audio_frame_cb *, void *) acb; /* Audio frame receive callback */ + PAIR(toxav_receive_video_frame_cb *, void *) vcb; /* Video frame receive callback */ pthread_mutex_t queue_mutex[1]; } CSSession; -- cgit v1.2.3