Commit 6224f35b authored by Antoine Cellerier's avatar Antoine Cellerier

Add a small help text to the alsa access.

parent b9452821
...@@ -79,6 +79,11 @@ static void DemuxClose( vlc_object_t * ); ...@@ -79,6 +79,11 @@ static void DemuxClose( vlc_object_t * );
"Caching value for Alsa captures. This " \ "Caching value for Alsa captures. This " \
"value should be set in milliseconds." ) "value should be set in milliseconds." )
#define HELP_TEXT N_( \
"Use alsa:// to open the default audio input. If multiple audio " \
"inputs are available, they will be listed in the vlc debug output. " \
"To select hw:0,1 , use alsa://hw:0,1 ." )
#define ALSA_DEFAULT "hw" #define ALSA_DEFAULT "hw"
#define CFG_PREFIX "alsa-" #define CFG_PREFIX "alsa-"
...@@ -87,6 +92,7 @@ vlc_module_begin() ...@@ -87,6 +92,7 @@ vlc_module_begin()
set_description( N_("Alsa audio capture input") ) set_description( N_("Alsa audio capture input") )
set_category( CAT_INPUT ) set_category( CAT_INPUT )
set_subcategory( SUBCAT_INPUT_ACCESS ) set_subcategory( SUBCAT_INPUT_ACCESS )
set_help( HELP_TEXT )
add_shortcut( "alsa" ) add_shortcut( "alsa" )
set_capability( "access_demux", 10 ) set_capability( "access_demux", 10 )
......
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