From 6224f35b42e886e20cb40af3d95a0a72c6addc24 Mon Sep 17 00:00:00 2001 From: Antoine Cellerier Date: Tue, 29 Dec 2009 00:18:26 +0100 Subject: [PATCH] Add a small help text to the alsa access. --- modules/access/alsa.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/access/alsa.c b/modules/access/alsa.c index b37b380983..36887909d7 100644 --- a/modules/access/alsa.c +++ b/modules/access/alsa.c @@ -79,6 +79,11 @@ static void DemuxClose( vlc_object_t * ); "Caching value for Alsa captures. This " \ "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 CFG_PREFIX "alsa-" @@ -87,6 +92,7 @@ vlc_module_begin() set_description( N_("Alsa audio capture input") ) set_category( CAT_INPUT ) set_subcategory( SUBCAT_INPUT_ACCESS ) + set_help( HELP_TEXT ) add_shortcut( "alsa" ) set_capability( "access_demux", 10 ) -- 2.39.2