diff options
author | phintuka <phintuka> | 2006-10-23 19:21:23 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2006-10-23 19:21:23 +0000 |
commit | 6f14e223c0a299fb824165255e2a1e4cb2164ac6 (patch) | |
tree | 25a26533f690d43967145123ba16cbbcfaaa7430 | |
parent | ff1b4f500d2c7424b7396044ce83e7b19e86c6c0 (diff) | |
download | xineliboutput-6f14e223c0a299fb824165255e2a1e4cb2164ac6.tar.gz xineliboutput-6f14e223c0a299fb824165255e2a1e4cb2164ac6.tar.bz2 |
goom options
-rw-r--r-- | config.c | 6 | ||||
-rw-r--r-- | config.h | 4 |
2 files changed, 6 insertions, 4 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.13 2006-09-20 01:51:31 phintuka Exp $ + * $Id: config.c,v 1.14 2006-10-23 19:21:23 phintuka Exp $ * */ @@ -178,7 +178,8 @@ config_t::config_t() { audio_compression = 0; memset(audio_equalizer,0,sizeof(audio_equalizer)); strcpy(audio_visualization, "goom"); - //strcpy(audio_vis_goom_opts, "fps:25,width:720,height:576"); + strcpy(audio_vis_goom_opts, "fps:25,width:720,height:576"); + headphone = 0; audio_upmix = 0; audio_surround = 0; @@ -378,6 +379,7 @@ bool config_t::SetupParse(const char *Name, const char *Value) SPEAKERS_STEREO); else if (!strcasecmp(Name, "Audio.Delay")) audio_delay = atoi(Value); else if (!strcasecmp(Name, "Audio.Compression")) audio_compression = atoi(Value); + else if (!strcasecmp(Name, "Audio.Visualization.GoomOpts")) STRN0CPY(audio_vis_goom_opts, Value); else if (!strcasecmp(Name, "Audio.Visualization")) STRN0CPY(audio_visualization, Value); else if (!strcasecmp(Name, "Audio.Surround")) audio_surround = atoi(Value); else if (!strcasecmp(Name, "Audio.Upmix")) audio_upmix = atoi(Value); @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: config.h,v 1.9 2006-09-20 03:49:32 phintuka Exp $ + * $Id: config.h,v 1.10 2006-10-23 19:21:23 phintuka Exp $ * */ @@ -169,7 +169,7 @@ class config_t { int audio_compression; // 100%(=off)...500% int audio_equalizer[AUDIO_EQ_count]; char audio_visualization[64]; - //char audio_vis_goom_opts[256]; + char audio_vis_goom_opts[256]; int audio_surround; int headphone; int audio_upmix; |