-#define RES_LONGTEXT N_("Allows you to change the resolution of the " \
- "goom display (bigger resolution will be prettier but more CPU intensive)")
-
-vlc_module_begin();
- set_description( _("goom effect") );
- set_capability( "audio filter", 0 );
- add_integer( "goom-width", 320, NULL,
- WIDTH_TEXT, RES_LONGTEXT, VLC_FALSE );
- add_integer( "goom-height", 240, NULL,
- HEIGHT_TEXT, RES_LONGTEXT, VLC_FALSE );
- set_callbacks( Open, Close );
- add_shortcut( "goom" );
-vlc_module_end();
+#define RES_LONGTEXT N_("This allows you to set the resolution of the " \
+ "Goom display (bigger resolution will be prettier but more CPU intensive).")
+
+#define SPEED_TEXT N_("Goom animation speed")
+#define SPEED_LONGTEXT N_("This allows you to set the animation speed " \
+ "(between 1 and 10, defaults to 6).")
+
+#define MAX_SPEED 10
+
+vlc_module_begin ()
+ set_shortname( N_("Goom"))
+ set_description( N_("Goom effect") )
+ set_category( CAT_AUDIO )
+ set_subcategory( SUBCAT_AUDIO_VISUAL )
+ set_capability( "visualization", 0 )
+ add_integer( "goom-width", 800, NULL,
+ WIDTH_TEXT, RES_LONGTEXT, false )
+ add_integer( "goom-height", 640, NULL,
+ HEIGHT_TEXT, RES_LONGTEXT, false )
+ add_integer( "goom-speed", 6, NULL,
+ SPEED_TEXT, SPEED_LONGTEXT, false )
+ set_callbacks( Open, Close )
+ add_shortcut( "goom" )
+vlc_module_end ()