mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-08 13:29:59 -05:00
Update PA_MODULE_USAGE to be in line with actual implementation
This commit is contained in:
parent
9a27b0c413
commit
26366664c1
9 changed files with 17 additions and 11 deletions
|
|
@ -40,7 +40,8 @@ PA_MODULE_LOAD_ONCE(FALSE);
|
||||||
PA_MODULE_USAGE(
|
PA_MODULE_USAGE(
|
||||||
"name=<name of the sink, to be prefixed> "
|
"name=<name of the sink, to be prefixed> "
|
||||||
"sink_name=<name for the sink> "
|
"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=<ALSA device> "
|
||||||
"device_id=<ALSA card index> "
|
"device_id=<ALSA card index> "
|
||||||
"format=<sample format> "
|
"format=<sample format> "
|
||||||
|
|
@ -64,6 +65,7 @@ static const char* const valid_modargs[] = {
|
||||||
"name",
|
"name",
|
||||||
"sink_name",
|
"sink_name",
|
||||||
"sink_properties",
|
"sink_properties",
|
||||||
|
"namereg_fail",
|
||||||
"device",
|
"device",
|
||||||
"device_id",
|
"device_id",
|
||||||
"format",
|
"format",
|
||||||
|
|
|
||||||
|
|
@ -65,6 +65,7 @@ PA_MODULE_USAGE(
|
||||||
"name=<name for the source, to be prefixed> "
|
"name=<name for the source, to be prefixed> "
|
||||||
"source_name=<name for the source> "
|
"source_name=<name for the source> "
|
||||||
"source_properties=<properties for the source> "
|
"source_properties=<properties for the source> "
|
||||||
|
"namereg_fail=<pa_namereg_register() fail parameter value> "
|
||||||
"device=<ALSA device> "
|
"device=<ALSA device> "
|
||||||
"device_id=<ALSA card index> "
|
"device_id=<ALSA card index> "
|
||||||
"format=<sample format> "
|
"format=<sample format> "
|
||||||
|
|
@ -84,6 +85,7 @@ static const char* const valid_modargs[] = {
|
||||||
"name",
|
"name",
|
||||||
"source_name",
|
"source_name",
|
||||||
"source_properties",
|
"source_properties",
|
||||||
|
"namereg_fail",
|
||||||
"device",
|
"device",
|
||||||
"device_id",
|
"device_id",
|
||||||
"format",
|
"format",
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,6 @@ PA_MODULE_USAGE(
|
||||||
|
|
||||||
static const char* const valid_modargs[] = {
|
static const char* const valid_modargs[] = {
|
||||||
"sink",
|
"sink",
|
||||||
"rssi",
|
|
||||||
"hci",
|
"hci",
|
||||||
NULL,
|
NULL,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,8 @@ PA_MODULE_DESCRIPTION(_("General Purpose Equalizer"));
|
||||||
PA_MODULE_VERSION(PACKAGE_VERSION);
|
PA_MODULE_VERSION(PACKAGE_VERSION);
|
||||||
PA_MODULE_LOAD_ONCE(FALSE);
|
PA_MODULE_LOAD_ONCE(FALSE);
|
||||||
PA_MODULE_USAGE(
|
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> "
|
"master=<sink to connect to> "
|
||||||
"format=<sample format> "
|
"format=<sample format> "
|
||||||
"rate=<sample rate> "
|
"rate=<sample rate> "
|
||||||
|
|
@ -131,6 +132,7 @@ struct userdata {
|
||||||
|
|
||||||
static const char* const valid_modargs[] = {
|
static const char* const valid_modargs[] = {
|
||||||
"sink_name",
|
"sink_name",
|
||||||
|
"sink_properties",
|
||||||
"master",
|
"master",
|
||||||
"format",
|
"format",
|
||||||
"rate",
|
"rate",
|
||||||
|
|
|
||||||
|
|
@ -57,13 +57,13 @@ PA_MODULE_VERSION(PACKAGE_VERSION);
|
||||||
PA_MODULE_LOAD_ONCE(TRUE);
|
PA_MODULE_LOAD_ONCE(TRUE);
|
||||||
#if defined(HAVE_ALSA) && defined(HAVE_OSS_OUTPUT)
|
#if defined(HAVE_ALSA) && defined(HAVE_OSS_OUTPUT)
|
||||||
PA_MODULE_USAGE("api=<alsa or oss> "
|
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>");
|
"subdevices=<init all subdevices>");
|
||||||
#elif defined(HAVE_ALSA)
|
#elif defined(HAVE_ALSA)
|
||||||
PA_MODULE_USAGE("api=<alsa> "
|
PA_MODULE_USAGE("api=<alsa> "
|
||||||
"tsched=<enable system timer based scheduling mode?>");
|
"tsched=<enable system timer based scheduling mode?>");
|
||||||
#elif defined(HAVE_OSS_OUTPUT)
|
#elif defined(HAVE_OSS_OUTPUT)
|
||||||
PA_MODULE_USAGE("api=<oss>"
|
PA_MODULE_USAGE("api=<oss> "
|
||||||
"subdevices=<init all subdevices>");
|
"subdevices=<init all subdevices>");
|
||||||
#endif
|
#endif
|
||||||
PA_MODULE_DEPRECATED("Please use module-udev-detect instead of module-hal-detect!");
|
PA_MODULE_DEPRECATED("Please use module-udev-detect instead of module-hal-detect!");
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ PA_MODULE_USAGE(
|
||||||
"sink_properties=<properties for the sink> "
|
"sink_properties=<properties for the sink> "
|
||||||
"file=<path of the FIFO> "
|
"file=<path of the FIFO> "
|
||||||
"format=<sample format> "
|
"format=<sample format> "
|
||||||
"rate=<sample rate>"
|
"rate=<sample rate> "
|
||||||
"channels=<number of channels> "
|
"channels=<number of channels> "
|
||||||
"channel_map=<channel map>");
|
"channel_map=<channel map>");
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -137,7 +137,7 @@
|
||||||
PA_MODULE_DESCRIPTION("Native protocol "SOCKET_DESCRIPTION);
|
PA_MODULE_DESCRIPTION("Native protocol "SOCKET_DESCRIPTION);
|
||||||
PA_MODULE_USAGE("auth-anonymous=<don't check for cookies?> "
|
PA_MODULE_USAGE("auth-anonymous=<don't check for cookies?> "
|
||||||
"auth-cookie=<path to cookie file> "
|
"auth-cookie=<path to cookie file> "
|
||||||
"auth-cookie-enabled=<enable cookie authentification? "
|
"auth-cookie-enabled=<enable cookie authentification?> "
|
||||||
AUTH_USAGE
|
AUTH_USAGE
|
||||||
SOCKET_USAGE);
|
SOCKET_USAGE);
|
||||||
#elif defined(USE_PROTOCOL_ESOUND)
|
#elif defined(USE_PROTOCOL_ESOUND)
|
||||||
|
|
@ -166,7 +166,7 @@
|
||||||
"source=<source to connect to> "
|
"source=<source to connect to> "
|
||||||
"auth-anonymous=<don't verify cookies?> "
|
"auth-anonymous=<don't verify cookies?> "
|
||||||
"auth-cookie=<path to cookie file> "
|
"auth-cookie=<path to cookie file> "
|
||||||
"auth-cookie-enabled=<enable cookie authentification? "
|
"auth-cookie-enabled=<enable cookie authentification?> "
|
||||||
AUTH_USAGE
|
AUTH_USAGE
|
||||||
SOCKET_USAGE);
|
SOCKET_USAGE);
|
||||||
#else
|
#else
|
||||||
|
|
|
||||||
|
|
@ -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_DESCRIPTION("When a sink/source is idle for too long, suspend it");
|
||||||
PA_MODULE_VERSION(PACKAGE_VERSION);
|
PA_MODULE_VERSION(PACKAGE_VERSION);
|
||||||
PA_MODULE_LOAD_ONCE(TRUE);
|
PA_MODULE_LOAD_ONCE(TRUE);
|
||||||
|
PA_MODULE_USAGE("timeout=<timeout>");
|
||||||
|
|
||||||
static const char* const valid_modargs[] = {
|
static const char* const valid_modargs[] = {
|
||||||
"timeout",
|
"timeout",
|
||||||
|
|
|
||||||
|
|
@ -55,11 +55,11 @@ PA_MODULE_USAGE(
|
||||||
"record=<enable source?> "
|
"record=<enable source?> "
|
||||||
"playback=<enable sink?> "
|
"playback=<enable sink?> "
|
||||||
"format=<sample format> "
|
"format=<sample format> "
|
||||||
"channels=<number of channels> "
|
|
||||||
"rate=<sample rate> "
|
"rate=<sample rate> "
|
||||||
|
"channels=<number of channels> "
|
||||||
|
"channel_map=<channel map> "
|
||||||
"fragments=<number of fragments> "
|
"fragments=<number of fragments> "
|
||||||
"fragment_size=<fragment size> "
|
"fragment_size=<fragment size>");
|
||||||
"channel_map=<channel map>");
|
|
||||||
|
|
||||||
#define DEFAULT_SINK_NAME "wave_output"
|
#define DEFAULT_SINK_NAME "wave_output"
|
||||||
#define DEFAULT_SOURCE_NAME "wave_input"
|
#define DEFAULT_SOURCE_NAME "wave_input"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue