diff options
Diffstat (limited to 'toxav/media.h')
-rw-r--r-- | toxav/media.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/toxav/media.h b/toxav/media.h index 030a36ac..aed57ea2 100644 --- a/toxav/media.h +++ b/toxav/media.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /** media.h | 1 | /** media.h |
2 | * | 2 | * |
3 | * Audio and video codec intitialization, encoding/decoding and playback | 3 | * Audio and video codec intitialization, encoding/decoding and playback |
4 | * | 4 | * |
5 | * Copyright (C) 2013 Tox project All Rights Reserved. | 5 | * Copyright (C) 2013 Tox project All Rights Reserved. |
@@ -39,7 +39,7 @@ | |||
39 | #include <opus/opus.h> | 39 | #include <opus/opus.h> |
40 | 40 | ||
41 | 41 | ||
42 | typedef struct _CodecState{ | 42 | typedef struct _CodecState { |
43 | 43 | ||
44 | /* video encoding */ | 44 | /* video encoding */ |
45 | vpx_codec_ctx_t v_encoder; | 45 | vpx_codec_ctx_t v_encoder; |
@@ -67,14 +67,14 @@ int queue(struct jitter_buffer *q, RTPMessage *pk); | |||
67 | RTPMessage *dequeue(struct jitter_buffer *q, int *success); | 67 | RTPMessage *dequeue(struct jitter_buffer *q, int *success); |
68 | 68 | ||
69 | 69 | ||
70 | CodecState* codec_init_session ( uint32_t audio_bitrate, | 70 | CodecState *codec_init_session ( uint32_t audio_bitrate, |
71 | uint16_t audio_frame_duration, | 71 | uint16_t audio_frame_duration, |
72 | uint32_t audio_sample_rate, | 72 | uint32_t audio_sample_rate, |
73 | uint32_t audio_channels, | 73 | uint32_t audio_channels, |
74 | uint16_t video_width, | 74 | uint16_t video_width, |
75 | uint16_t video_height, | 75 | uint16_t video_height, |
76 | uint32_t video_bitrate ); | 76 | uint32_t video_bitrate ); |
77 | 77 | ||
78 | void codec_terminate_session(CodecState* cs); | 78 | void codec_terminate_session(CodecState *cs); |
79 | 79 | ||
80 | #endif | 80 | #endif |