diff options
author | mannol <eniz_vukovic@hotmail.com> | 2015-02-14 23:37:52 +0100 |
---|---|---|
committer | mannol <eniz_vukovic@hotmail.com> | 2015-02-14 23:37:52 +0100 |
commit | aad857527cd63b5f79786df0c1aab50f4de87774 (patch) | |
tree | c94463c21fe2d73b1ec514b223a5e0166e1e8693 /toxav/codec.h | |
parent | 39680f31d0121cef2358507fcea84cacad69893a (diff) |
Control part of new api already kind of works
Diffstat (limited to 'toxav/codec.h')
-rw-r--r-- | toxav/codec.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 { | |||
117 | int32_t last_pack_channels; | 117 | int32_t last_pack_channels; |
118 | int32_t last_packet_sampling_rate; | 118 | int32_t last_packet_sampling_rate; |
119 | int32_t last_packet_frame_duration; | 119 | int32_t last_packet_frame_duration; |
120 | struct _JitterBuffer *j_buf; | 120 | struct JitterBuffer *j_buf; |
121 | 121 | ||
122 | 122 | ||
123 | /* Voice activity detection */ | 123 | /* Voice activity detection */ |
@@ -132,6 +132,10 @@ typedef struct _CSSession { | |||
132 | */ | 132 | */ |
133 | void *agent; /* Pointer to ToxAV TODO make this pointer to ToxAV*/ | 133 | void *agent; /* Pointer to ToxAV TODO make this pointer to ToxAV*/ |
134 | int32_t call_idx; | 134 | int32_t call_idx; |
135 | int32_t friend_number; | ||
136 | |||
137 | PAIR(toxav_receive_audio_frame_cb *, void *) acb; /* Audio frame receive callback */ | ||
138 | PAIR(toxav_receive_video_frame_cb *, void *) vcb; /* Video frame receive callback */ | ||
135 | 139 | ||
136 | pthread_mutex_t queue_mutex[1]; | 140 | pthread_mutex_t queue_mutex[1]; |
137 | } CSSession; | 141 | } CSSession; |