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

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Wed Aug 20 02:53:34 PDT 2014


On Tue, 2014-08-19 at 14:38 +0200, David Henningsson wrote:
> 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);

Maybe put it in pa_config_parse() instead?

-- 
Tanu



More information about the pulseaudio-discuss mailing list