summaryrefslogtreecommitdiff
path: root/toxav/audio.h
diff options
context:
space:
mode:
authormannol <eniz_vukovic@hotmail.com>2015-04-22 02:09:37 +0200
committermannol <eniz_vukovic@hotmail.com>2015-04-22 02:09:37 +0200
commit1bfd93e64a2a6d3bf9c90a9aa89abd29f3d826a7 (patch)
tree094af1cad749bef83678071476075160d956bfeb /toxav/audio.h
parent3fd0ee5f0873924b4881b0e33eb1c17ea877ab4a (diff)
Finished refactoring
Diffstat (limited to 'toxav/audio.h')
-rw-r--r--toxav/audio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/toxav/audio.h b/toxav/audio.h
index 62a28cdf..2cb0d8f6 100644
--- a/toxav/audio.h
+++ b/toxav/audio.h
@@ -29,6 +29,8 @@
29 29
30#include "../toxcore/util.h" 30#include "../toxcore/util.h"
31 31
32struct RTPMessage_s;
33
32typedef struct ACSession_s { 34typedef struct ACSession_s {
33 /* encoding */ 35 /* encoding */
34 OpusEncoder *encoder; 36 OpusEncoder *encoder;
@@ -56,5 +58,6 @@ typedef struct ACSession_s {
56ACSession* ac_new(ToxAV* av, uint32_t friend_id, toxav_receive_audio_frame_cb *cb, void *cb_data); 58ACSession* ac_new(ToxAV* av, uint32_t friend_id, toxav_receive_audio_frame_cb *cb, void *cb_data);
57void ac_kill(ACSession* ac); 59void ac_kill(ACSession* ac);
58void ac_do(ACSession* ac); 60void ac_do(ACSession* ac);
61int ac_queue_message(void *acp, struct RTPMessage_s *msg);
59int ac_reconfigure_encoder(ACSession* ac, int32_t bitrate, int32_t sampling_rate, uint8_t channels); 62int ac_reconfigure_encoder(ACSession* ac, int32_t bitrate, int32_t sampling_rate, uint8_t channels);
60#endif /* AUDIO_H */ \ No newline at end of file 63#endif /* AUDIO_H */ \ No newline at end of file