summaryrefslogtreecommitdiff
path: root/toxav/codec.h
diff options
context:
space:
mode:
authormannol <eniz_vukovic@hotmail.com>2015-03-23 23:38:04 +0100
committermannol <eniz_vukovic@hotmail.com>2015-03-23 23:38:04 +0100
commit96ca88a0d63b9fd3ee1f986ab99627590fdbaa56 (patch)
tree8c6e46bbba1742598180121ff0bb73e2efb0a633 /toxav/codec.h
parent995bddbc26be5106cb33400311fbb669e314312a (diff)
Make it possible to change channels/sample rate of the decoder
Diffstat (limited to 'toxav/codec.h')
-rw-r--r--toxav/codec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/toxav/codec.h b/toxav/codec.h
index 971a9e05..5e015f39 100644
--- a/toxav/codec.h
+++ b/toxav/codec.h
@@ -112,6 +112,8 @@ typedef struct CSSession_s {
112 112
113 /* audio decoding */ 113 /* audio decoding */
114 OpusDecoder *audio_decoder; 114 OpusDecoder *audio_decoder;
115 int32_t decoder_channels;
116 int32_t decoder_sample_rate;
115 int32_t last_pack_channels; 117 int32_t last_pack_channels;
116 int32_t last_packet_sampling_rate; 118 int32_t last_packet_sampling_rate;
117 int32_t last_packet_frame_duration; 119 int32_t last_packet_frame_duration;