diff options
-rw-r--r-- | toxav/audio.h | 3 | ||||
-rw-r--r-- | toxav/video.h | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/toxav/audio.h b/toxav/audio.h index 3c646f76..f71aaed3 100644 --- a/toxav/audio.h +++ b/toxav/audio.h | |||
@@ -24,6 +24,7 @@ | |||
24 | 24 | ||
25 | #include "../toxcore/logger.h" | 25 | #include "../toxcore/logger.h" |
26 | #include "../toxcore/util.h" | 26 | #include "../toxcore/util.h" |
27 | #include "rtp.h" | ||
27 | 28 | ||
28 | #include <opus.h> | 29 | #include <opus.h> |
29 | #include <pthread.h> | 30 | #include <pthread.h> |
@@ -48,8 +49,6 @@ | |||
48 | #define AUDIO_MAX_BUFFER_SIZE_PCM16 ((AUDIO_MAX_SAMPLE_RATE * AUDIO_MAX_FRAME_DURATION_MS) / 1000) | 49 | #define AUDIO_MAX_BUFFER_SIZE_PCM16 ((AUDIO_MAX_SAMPLE_RATE * AUDIO_MAX_FRAME_DURATION_MS) / 1000) |
49 | #define AUDIO_MAX_BUFFER_SIZE_BYTES (AUDIO_MAX_BUFFER_SIZE_PCM16 * 2) | 50 | #define AUDIO_MAX_BUFFER_SIZE_BYTES (AUDIO_MAX_BUFFER_SIZE_PCM16 * 2) |
50 | 51 | ||
51 | struct RTPMessage; | ||
52 | |||
53 | typedef struct ACSession_s { | 52 | typedef struct ACSession_s { |
54 | const Logger *log; | 53 | const Logger *log; |
55 | 54 | ||
diff --git a/toxav/video.h b/toxav/video.h index 19ceb9ba..898c986a 100644 --- a/toxav/video.h +++ b/toxav/video.h | |||
@@ -24,6 +24,8 @@ | |||
24 | 24 | ||
25 | #include "../toxcore/logger.h" | 25 | #include "../toxcore/logger.h" |
26 | #include "../toxcore/util.h" | 26 | #include "../toxcore/util.h" |
27 | #include "ring_buffer.h" | ||
28 | #include "rtp.h" | ||
27 | 29 | ||
28 | #include <vpx/vpx_decoder.h> | 30 | #include <vpx/vpx_decoder.h> |
29 | #include <vpx/vpx_encoder.h> | 31 | #include <vpx/vpx_encoder.h> |
@@ -35,9 +37,6 @@ | |||
35 | 37 | ||
36 | #include <pthread.h> | 38 | #include <pthread.h> |
37 | 39 | ||
38 | struct RTPMessage; | ||
39 | struct RingBuffer; | ||
40 | |||
41 | typedef struct VCSession_s { | 40 | typedef struct VCSession_s { |
42 | /* encoding */ | 41 | /* encoding */ |
43 | vpx_codec_ctx_t encoder[1]; | 42 | vpx_codec_ctx_t encoder[1]; |