On Thu, 2011-04-28 at 12:48 +0300, Colin Guthrie wrote:
> 'Twas brillig, and Tanu Kaskinen at 27/04/11 11:08 did gyre and gimble:
> > From: Tanu Kaskinen <ext-tanu.kaski...@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?

You can call it in gdb.

-- 
Tanu

_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss

Reply via email to