From 980aed2199f60ebe29ffc44a871cff3da384bed0 Mon Sep 17 00:00:00 2001 From: phintuka Date: Sun, 25 Mar 2007 02:39:26 +0000 Subject: Volume control --- config.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'config.c') 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); -- cgit v1.2.3