Thanks John for looking at that. Looking at the code though, it seems that this must have originally been built with itime value for threshold in mind, as the power buffer is never updated while running, only during init. It seems flawed in some way to me, that the buffer should be removed and just calculated each pass, or the buffer recalculated when threshold changes, I don't know. Any opinions on this? steven On 2/18/07, root wrote: > You do need to clear p->initialised in daminit as well as structures can > be reused. > ==John > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net