summaryrefslogtreecommitdiffstats
path: root/cfg-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'cfg-common.h')
-rw-r--r--cfg-common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cfg-common.h b/cfg-common.h
index 6fa1478c0b..8071ec876a 100644
--- a/cfg-common.h
+++ b/cfg-common.h
@@ -91,6 +91,7 @@
// force video/audio rate:
{"fps", &force_fps, CONF_TYPE_FLOAT, CONF_MIN, 0, 0, NULL},
{"srate", &force_srate, CONF_TYPE_INT, CONF_RANGE, 1000, 8*48000, NULL},
+ {"channels", &audio_output_channels, CONF_TYPE_INT, CONF_RANGE, 1, 6, NULL},
// ------------------------- codec/vfilter options --------------------
@@ -187,6 +188,9 @@ extern float movie_aspect;
extern int softzoom;
extern int flip;
+/* from dec_audio, currently used for ac3surround decoder only */
+extern int audio_output_channels;
+
#ifdef STREAMING
/* defined in network.c */
extern char *network_username;