summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'config.c')
-rw-r--r--config.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.c b/config.c
index 614863bf..d2ad4f12 100644
--- a/config.c
+++ b/config.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: config.c,v 1.30 2007-03-17 15:48:21 phintuka Exp $
+ * $Id: config.c,v 1.31 2007-03-25 02:39:26 phintuka Exp $
*
*/
@@ -250,6 +250,7 @@ config_t::config_t() {
headphone = 0;
audio_upmix = 0;
audio_surround = 0;
+ sw_volume_control = 0;
decoder_priority = DECODER_PRIORITY_NORMAL;
pes_buffers = i_pesBufferSize[PES_BUFFERS_SMALL_250];
@@ -467,6 +468,7 @@ bool config_t::SetupParse(const char *Name, const char *Value)
else if (!strcasecmp(Name, "Audio.Surround")) audio_surround = atoi(Value);
else if (!strcasecmp(Name, "Audio.Upmix")) audio_upmix = atoi(Value);
else if (!strcasecmp(Name, "Audio.Headphone")) headphone = atoi(Value);
+ else if (!strcasecmp(Name, "Audio.SoftwareVolumeControl")) sw_volume_control = atoi(Value);
else if (!strcasecmp(Name, "OSD.HideMainMenu")) hide_main_menu = atoi(Value);
else if (!strcasecmp(Name, "OSD.Prescale")) prescale_osd = atoi(Value);