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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.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?

You can call it in gdb.

-- 
Tanu




[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux