[pulseaudio-discuss] [PATCH] stream-restore: Enable database dumping if DEBUG_VOLUME is defined.

Colin Guthrie gmane at colin.guthr.ie
Thu Apr 28 02:48:06 PDT 2011


'Twas brillig, and Tanu Kaskinen at 27/04/11 11:08 did gyre and gimble:
> 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;
>  

Forgive my ignorance here but I cannot see where this is called... Is
there some magic way to call this function?

Col


-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mageia Contributor [http://www.mageia.org/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]




More information about the pulseaudio-discuss mailing list