[pulseaudio-discuss] [PATCH] stream-restore: Enable database dumping if DEBUG_VOLUME is defined.
Tanu Kaskinen
tanu.kaskinen at digia.com
Wed Apr 27 03:08:38 PDT 2011
From: Tanu Kaskinen <ext-tanu.kaskinen at nokia.com>
---
src/modules/module-stream-restore.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/modules/module-stream-restore.c b/src/modules/module-stream-restore.c
index c1baf8f..56672f7 100644
--- a/src/modules/module-stream-restore.c
+++ b/src/modules/module-stream-restore.c
@@ -1778,8 +1778,8 @@ static void apply_entry(struct userdata *u, const char *name, struct entry *e) {
}
}
-#if 0
-static void dump_database(struct userdata *u) {
+#ifdef DEBUG_VOLUME
+PA_GCC_UNUSED static void stream_restore_dump_database(struct userdata *u) {
pa_datum key;
pa_bool_t done;
--
1.7.4.2
More information about the pulseaudio-discuss
mailing list