diff options
author | phintuka <phintuka> | 2007-03-25 02:39:26 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2007-03-25 02:39:26 +0000 |
commit | 980aed2199f60ebe29ffc44a871cff3da384bed0 (patch) | |
tree | a1da4223a0bb91504ec5515e23c1f924629e2f58 /config.c | |
parent | 02e4725b51ef425b85cdd24ae7109fdcd8b182b8 (diff) | |
download | xineliboutput-980aed2199f60ebe29ffc44a871cff3da384bed0.tar.gz xineliboutput-980aed2199f60ebe29ffc44a871cff3da384bed0.tar.bz2 |
Volume control
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |