diff options
author | mannol <eniz_vukovic@hotmail.com> | 2015-04-22 02:09:37 +0200 |
---|---|---|
committer | mannol <eniz_vukovic@hotmail.com> | 2015-04-22 02:09:37 +0200 |
commit | 1bfd93e64a2a6d3bf9c90a9aa89abd29f3d826a7 (patch) | |
tree | 094af1cad749bef83678071476075160d956bfeb /toxav/audio.h | |
parent | 3fd0ee5f0873924b4881b0e33eb1c17ea877ab4a (diff) |
Finished refactoring
Diffstat (limited to 'toxav/audio.h')
-rw-r--r-- | toxav/audio.h | 3 |
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 | ||
32 | struct RTPMessage_s; | ||
33 | |||
32 | typedef struct ACSession_s { | 34 | typedef struct ACSession_s { |
33 | /* encoding */ | 35 | /* encoding */ |
34 | OpusEncoder *encoder; | 36 | OpusEncoder *encoder; |
@@ -56,5 +58,6 @@ typedef struct ACSession_s { | |||
56 | ACSession* ac_new(ToxAV* av, uint32_t friend_id, toxav_receive_audio_frame_cb *cb, void *cb_data); | 58 | ACSession* ac_new(ToxAV* av, uint32_t friend_id, toxav_receive_audio_frame_cb *cb, void *cb_data); |
57 | void ac_kill(ACSession* ac); | 59 | void ac_kill(ACSession* ac); |
58 | void ac_do(ACSession* ac); | 60 | void ac_do(ACSession* ac); |
61 | int ac_queue_message(void *acp, struct RTPMessage_s *msg); | ||
59 | int ac_reconfigure_encoder(ACSession* ac, int32_t bitrate, int32_t sampling_rate, uint8_t channels); | 62 | int 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 |