summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2010-11-17 13:49:28 +0000
committerphintuka <phintuka>2010-11-17 13:49:28 +0000
commitacdb181d60ca6fd3e569d700a6ae01b11f40d572 (patch)
treeed8339b19dea116090b83288c6120507c9cf8203
parenta99130a38c4423e6c552be0815599b948401d5a9 (diff)
downloadxineliboutput-acdb181d60ca6fd3e569d700a6ae01b11f40d572.tar.gz
xineliboutput-acdb181d60ca6fd3e569d700a6ae01b11f40d572.tar.bz2
Added setup menu item for Audio.Visualization.ImageOpts
(Thanks to Helmar Gerloni)
-rw-r--r--setup_menu.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/setup_menu.c b/setup_menu.c
index 2857268e..5a6011be 100644
--- a/setup_menu.c
+++ b/setup_menu.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: setup_menu.c,v 1.77 2010-04-16 10:33:30 phintuka Exp $
+ * $Id: setup_menu.c,v 1.78 2010-11-17 13:49:28 phintuka Exp $
*
*/
@@ -212,6 +212,10 @@ void cMenuSetupAudio::Set(void)
&goom_height, 240, 1280));
Add(new cMenuEditTypedIntItem(indent(tr("Speed")), tr("fps"),
&goom_fps, 1, 100));
+ } else if(visualization == AUDIO_VIS_IMAGE) {
+ Add(new cMenuEditStrItem(indent(tr("Background image")),
+ newconfig.audio_vis_image_opts,
+ sizeof(newconfig.audio_vis_image_opts)));
}
if(current<1) current=1; /* first item is not selectable */
@@ -303,6 +307,7 @@ void cMenuSetupAudio::Store(void)
SetupStore("Audio.Headphone", xc.headphone);
SetupStore("Audio.Visualization",xc.audio_visualization);
SetupStore("Audio.Visualization.GoomOpts",xc.audio_vis_goom_opts);
+ SetupStore("Audio.Visualization.ImageOpts",xc.audio_vis_image_opts);
SetupStore("Audio.SoftwareVolumeControl", xc.sw_volume_control);
Setup.Save();
}