diff options
Diffstat (limited to 'toxav/codec.h')
-rw-r--r-- | toxav/codec.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/toxav/codec.h b/toxav/codec.h index 830dbbf6..7cc9b15d 100644 --- a/toxav/codec.h +++ b/toxav/codec.h | |||
@@ -25,6 +25,8 @@ | |||
25 | #include "toxav.h" | 25 | #include "toxav.h" |
26 | #include "rtp.h" | 26 | #include "rtp.h" |
27 | 27 | ||
28 | #include "../toxcore/util.h" | ||
29 | |||
28 | #include <stdio.h> | 30 | #include <stdio.h> |
29 | #include <math.h> | 31 | #include <math.h> |
30 | #include <pthread.h> | 32 | #include <pthread.h> |
@@ -40,8 +42,6 @@ | |||
40 | /* Audio encoding/decoding */ | 42 | /* Audio encoding/decoding */ |
41 | #include <opus.h> | 43 | #include <opus.h> |
42 | 44 | ||
43 | #define PAIR(TYPE1__, TYPE2__) struct { TYPE1__ first; TYPE2__ second; } | ||
44 | |||
45 | #define PACKED_AUDIO_SIZE(x) (x + 5) | 45 | #define PACKED_AUDIO_SIZE(x) (x + 5) |
46 | #define UNPACKED_AUDIO_SIZE(x) (x - 5) | 46 | #define UNPACKED_AUDIO_SIZE(x) (x - 5) |
47 | 47 | ||
@@ -125,8 +125,4 @@ const uint8_t *cs_iterate_split_video_frame(CSession *cs, uint16_t *size); | |||
125 | 125 | ||
126 | int cs_reconfigure_video_encoder(CSession* cs, int32_t bitrate, uint16_t width, uint16_t height); | 126 | int cs_reconfigure_video_encoder(CSession* cs, int32_t bitrate, uint16_t width, uint16_t height); |
127 | int cs_reconfigure_audio_encoder(CSession* cs, int32_t bitrate, int32_t sampling_rate, uint8_t channels); | 127 | int cs_reconfigure_audio_encoder(CSession* cs, int32_t bitrate, int32_t sampling_rate, uint8_t channels); |
128 | |||
129 | |||
130 | /* Internal. Called from rtp_handle_message */ | ||
131 | void queue_message(RTPSession *session, RTPMessage *msg); | ||
132 | #endif /* CODEC_H */ | 128 | #endif /* CODEC_H */ |