Update PA_MODULE_USAGE to be in line with actual implementation

This commit is contained in:
Maarten Bosmans 2011-03-18 11:52:30 +01:00 committed by Colin Guthrie
parent 9a27b0c413
commit 26366664c1
9 changed files with 17 additions and 11 deletions

View file

@ -40,7 +40,8 @@ PA_MODULE_LOAD_ONCE(FALSE);
PA_MODULE_USAGE(
"name=<name of the sink, to be prefixed> "
"sink_name=<name for the sink> "
"sink_properities=<properties for the sink> "
"sink_properties=<properties for the sink> "
"namereg_fail=<pa_namereg_register() fail parameter value> "
"device=<ALSA device> "
"device_id=<ALSA card index> "
"format=<sample format> "
@ -64,6 +65,7 @@ static const char* const valid_modargs[] = {
"name",
"sink_name",
"sink_properties",
"namereg_fail",
"device",
"device_id",
"format",

View file

@ -65,6 +65,7 @@ PA_MODULE_USAGE(
"name=<name for the source, to be prefixed> "
"source_name=<name for the source> "
"source_properties=<properties for the source> "
"namereg_fail=<pa_namereg_register() fail parameter value> "
"device=<ALSA device> "
"device_id=<ALSA card index> "
"format=<sample format> "
@ -84,6 +85,7 @@ static const char* const valid_modargs[] = {
"name",
"source_name",
"source_properties",
"namereg_fail",
"device",
"device_id",
"format",

View file

@ -59,7 +59,6 @@ PA_MODULE_USAGE(
static const char* const valid_modargs[] = {
"sink",
"rssi",
"hci",
NULL,
};

View file

@ -77,7 +77,8 @@ PA_MODULE_DESCRIPTION(_("General Purpose Equalizer"));
PA_MODULE_VERSION(PACKAGE_VERSION);
PA_MODULE_LOAD_ONCE(FALSE);
PA_MODULE_USAGE(
_("sink_name=<name of the sink>"
_("sink_name=<name of the sink> "
"sink_properties=<properties for the sink> "
"master=<sink to connect to> "
"format=<sample format> "
"rate=<sample rate> "
@ -131,6 +132,7 @@ struct userdata {
static const char* const valid_modargs[] = {
"sink_name",
"sink_properties",
"master",
"format",
"rate",

View file

@ -57,13 +57,13 @@ PA_MODULE_VERSION(PACKAGE_VERSION);
PA_MODULE_LOAD_ONCE(TRUE);
#if defined(HAVE_ALSA) && defined(HAVE_OSS_OUTPUT)
PA_MODULE_USAGE("api=<alsa or oss> "
"tsched=<enable system timer based scheduling mode?>"
"tsched=<enable system timer based scheduling mode?> "
"subdevices=<init all subdevices>");
#elif defined(HAVE_ALSA)
PA_MODULE_USAGE("api=<alsa> "
"tsched=<enable system timer based scheduling mode?>");
#elif defined(HAVE_OSS_OUTPUT)
PA_MODULE_USAGE("api=<oss>"
PA_MODULE_USAGE("api=<oss> "
"subdevices=<init all subdevices>");
#endif
PA_MODULE_DEPRECATED("Please use module-udev-detect instead of module-hal-detect!");

View file

@ -61,7 +61,7 @@ PA_MODULE_USAGE(
"sink_properties=<properties for the sink> "
"file=<path of the FIFO> "
"format=<sample format> "
"rate=<sample rate>"
"rate=<sample rate> "
"channels=<number of channels> "
"channel_map=<channel map>");

View file

@ -137,7 +137,7 @@
PA_MODULE_DESCRIPTION("Native protocol "SOCKET_DESCRIPTION);
PA_MODULE_USAGE("auth-anonymous=<don't check for cookies?> "
"auth-cookie=<path to cookie file> "
"auth-cookie-enabled=<enable cookie authentification? "
"auth-cookie-enabled=<enable cookie authentification?> "
AUTH_USAGE
SOCKET_USAGE);
#elif defined(USE_PROTOCOL_ESOUND)
@ -166,7 +166,7 @@
"source=<source to connect to> "
"auth-anonymous=<don't verify cookies?> "
"auth-cookie=<path to cookie file> "
"auth-cookie-enabled=<enable cookie authentification? "
"auth-cookie-enabled=<enable cookie authentification?> "
AUTH_USAGE
SOCKET_USAGE);
#else

View file

@ -41,6 +41,7 @@ PA_MODULE_AUTHOR("Lennart Poettering");
PA_MODULE_DESCRIPTION("When a sink/source is idle for too long, suspend it");
PA_MODULE_VERSION(PACKAGE_VERSION);
PA_MODULE_LOAD_ONCE(TRUE);
PA_MODULE_USAGE("timeout=<timeout>");
static const char* const valid_modargs[] = {
"timeout",

View file

@ -55,11 +55,11 @@ PA_MODULE_USAGE(
"record=<enable source?> "
"playback=<enable sink?> "
"format=<sample format> "
"channels=<number of channels> "
"rate=<sample rate> "
"channels=<number of channels> "
"channel_map=<channel map> "
"fragments=<number of fragments> "
"fragment_size=<fragment size> "
"channel_map=<channel map>");
"fragment_size=<fragment size>");
#define DEFAULT_SINK_NAME "wave_output"
#define DEFAULT_SOURCE_NAME "wave_input"