Commit 7d4afe09 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Config: Add a resampler category

parent 2d82ef28
......@@ -58,6 +58,8 @@
#define AFILTER_TITLE N_("Filters")
#define AFILTER_HELP N_( "Audio filters are used to process the audio stream." )
#define ARESAMPLER_TITLE N_("Audio resampler")
#define AVISUAL_TITLE N_("Visualizations")
#define AVISUAL_HELP N_( "Audio visualizations" )
......@@ -198,6 +200,7 @@ static const struct config_category_t categories_array[] =
{ SUBCAT_AUDIO_GENERAL, AUDIO_TITLE, AUDIO_GENERAL_HELP },
{ SUBCAT_AUDIO_AOUT, AOUT_TITLE, AOUT_HELP },
{ SUBCAT_AUDIO_AFILTER, AFILTER_TITLE, AFILTER_HELP },
{ SUBCAT_AUDIO_RESAMPLER, ARESAMPLER_TITLE, AFILTER_HELP },
{ SUBCAT_AUDIO_VISUAL, AVISUAL_TITLE, AVISUAL_HELP },
{ SUBCAT_AUDIO_MISC, AMISC_TITLE, AMISC_HELP },
......
......@@ -148,6 +148,7 @@ enum vlc_module_properties
#define SUBCAT_AUDIO_AFILTER 203
#define SUBCAT_AUDIO_VISUAL 204
#define SUBCAT_AUDIO_MISC 205
#define SUBCAT_AUDIO_RESAMPLER 206
#define CAT_VIDEO 3
#define SUBCAT_VIDEO_GENERAL 301
......
......@@ -1456,9 +1456,6 @@ vlc_module_begin ()
DESYNC_LONGTEXT, true )
change_safe ()
add_module( "audio-resampler", "audio resampler", NULL,
AUDIO_RESAMPLER_TEXT, AUDIO_RESAMPLER_LONGTEXT, true )
/* FIXME TODO create a subcat replay gain ? */
add_string( "audio-replay-gain-mode", ppsz_replay_gain_mode[0], AUDIO_REPLAY_GAIN_MODE_TEXT,
AUDIO_REPLAY_GAIN_MODE_LONGTEXT, false )
......@@ -1484,6 +1481,11 @@ vlc_module_begin ()
add_module( "audio-visual", "visualization", "none", AUDIO_VISUAL_TEXT,
AUDIO_VISUAL_LONGTEXT, false )
set_subcategory( SUBCAT_AUDIO_RESAMPLER )
add_module( "audio-resampler", "audio resampler", NULL,
AUDIO_RESAMPLER_TEXT, AUDIO_RESAMPLER_LONGTEXT, true )
/* Video options */
set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_GENERAL )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment