summaryrefslogtreecommitdiff
path: root/toxav/codec.h
diff options
context:
space:
mode:
authormannol <eniz_vukovic@hotmail.com>2015-04-09 02:43:13 +0200
committermannol <eniz_vukovic@hotmail.com>2015-04-09 02:43:13 +0200
commit4fa31d14cf53dd54b182508df31b5524b1f24cb6 (patch)
tree13b41abf8698f87307be2e6e8f7b78ce033af659 /toxav/codec.h
parent9c003c9dd215d5f6bb2c1a0fbdc2c0f7fd9def7c (diff)
Make it possible to decode mono audio with stereo decoder
Diffstat (limited to 'toxav/codec.h')
-rw-r--r--toxav/codec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/toxav/codec.h b/toxav/codec.h
index 93b08cd2..4e2b995b 100644
--- a/toxav/codec.h
+++ b/toxav/codec.h
@@ -42,6 +42,9 @@
42 42
43#define PAIR(TYPE1__, TYPE2__) struct { TYPE1__ first; TYPE2__ second; } 43#define PAIR(TYPE1__, TYPE2__) struct { TYPE1__ first; TYPE2__ second; }
44 44
45#define PACKED_AUDIO_SIZE(x) (x + 5)
46#define UNPACKED_AUDIO_SIZE(x) (x - 5)
47
45typedef struct CSession_s { 48typedef struct CSession_s {
46 49
47 /* VIDEO 50 /* VIDEO