summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-08-01 01:54:53 +0300
committerLennart Poettering <lennart@poettering.net>2008-08-01 01:54:53 +0300
commita5a7b79938c14d3ca89da52e3d25d276bbbafc7b (patch)
tree05af2b48936c385a065f96488357ee2623db6b81
parentd757dc7ff47a47d760cc5959579b010fb5a8b214 (diff)
fix build without ALSA
-rw-r--r--src/modules/module-hal-detect.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/module-hal-detect.c b/src/modules/module-hal-detect.c
index b2f97a10..bfabd91a 100644
--- a/src/modules/module-hal-detect.c
+++ b/src/modules/module-hal-detect.c
@@ -789,7 +789,9 @@ int pa__init(pa_module*m) {
u->connection = conn;
u->devices = pa_hashmap_new(pa_idxset_string_hash_func, pa_idxset_string_compare_func);
u->capability = api;
+#ifdef HAVE_ALSA
u->use_tsched = use_tsched;
+#endif
m->userdata = u;
#ifdef HAVE_ALSA