[pulseaudio-discuss] [PATCH] alsa: Add debug print of parsed profile set file

David Henningsson david.henningsson at canonical.com
Tue Aug 19 05:38:49 PDT 2014


This is useful for debugging.

Signed-off-by: David Henningsson <david.henningsson at canonical.com>
---
 src/modules/alsa/alsa-mixer.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/modules/alsa/alsa-mixer.c b/src/modules/alsa/alsa-mixer.c
index 4871523..2a14751 100644
--- a/src/modules/alsa/alsa-mixer.c
+++ b/src/modules/alsa/alsa-mixer.c
@@ -4245,6 +4245,7 @@ pa_alsa_profile_set* pa_alsa_profile_set_new(const char *fname, const pa_channel
                               pa_run_from_build_tree() ? PA_SRCDIR "/modules/alsa/mixer/profile-sets/" :
                               PA_ALSA_PROFILE_SETS_DIR);
 
+    pa_log_debug("Parsing profile set file '%s'", fn);
     r = pa_config_parse(fn, NULL, items, NULL, ps);
     pa_xfree(fn);
 
-- 
1.9.1



More information about the pulseaudio-discuss mailing list