diff options
author | Lennart Poettering <lennart@poettering.net> | 2007-11-09 18:25:40 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2007-11-09 18:25:40 +0000 |
commit | e313fe1b3d0d9f9945c41c151d72edbe9cf1ec54 (patch) | |
tree | 1e5275fb1746f7b5a90fb785be0250e6d03e9be3 /src/modules/module-hal-detect.c | |
parent | d8e0c1c6bdb4fbfcc69d080ca78d76403f9e8760 (diff) |
tag modules that may only be loaded once at most especially, and enforce that in the module loader
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2043 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/modules/module-hal-detect.c')
-rw-r--r-- | src/modules/module-hal-detect.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/modules/module-hal-detect.c b/src/modules/module-hal-detect.c index a8ca7df3..00b66c16 100644 --- a/src/modules/module-hal-detect.c +++ b/src/modules/module-hal-detect.c @@ -53,15 +53,16 @@ #include "dbus-util.h" #include "module-hal-detect-symdef.h" -PA_MODULE_AUTHOR("Shahms King") -PA_MODULE_DESCRIPTION("Detect available audio hardware and load matching drivers") -PA_MODULE_VERSION(PACKAGE_VERSION) +PA_MODULE_AUTHOR("Shahms King"); +PA_MODULE_DESCRIPTION("Detect available audio hardware and load matching drivers"); +PA_MODULE_VERSION(PACKAGE_VERSION); +PA_MODULE_LOAD_ONCE(TRUE); #if defined(HAVE_ALSA) && defined(HAVE_OSS) -PA_MODULE_USAGE("api=<alsa or oss>") +PA_MODULE_USAGE("api=<alsa or oss>"); #elif defined(HAVE_ALSA) -PA_MODULE_USAGE("api=<alsa>") +PA_MODULE_USAGE("api=<alsa>"); #elif defined(HAVE_OSS) -PA_MODULE_USAGE("api=<oss>") +PA_MODULE_USAGE("api=<oss>"); #endif struct device { |