Before I start going through my project with a fine toothcomb I wondered if anyone might recognise my problem and suggest where to start looking for what’s causing it?
Basically, I very occasionally get a dropped buffer (well it looks like one early or late buffer followed by a completely empty one) image here:
http://164.11.131.73/svn/CEMS/mt/msc/gp/trunk/notes/dropbufferbug.jpg
It usually does it when creating lots of synth events but it does happen before voices are used up (i.e. before voice stealing occurs) and even with 128 voices the CPU is only averaging 50% in AU Lab. I suspect it only seems to fail when there are lots of events due to the increased probability but I may be wrong.
I’m fairly sure it’s not happening in the wrapper ProcessBufferLists when the
if (juceFilter->isSuspended())
{
...
check, zeros the buffer.
The whole project is at: (browsable or SVN checkout)
http://164.11.131.73/svn/CEMS/mt/msc/gp/trunk/
…but it’s quite big (135MB if you checkout the whole trunk) as there are some currently unused audio samples in there as that’s the eventual plan once these dropouts are sorted!
As a long shot I tried zamrate’s Mac Timer class mod but nope…[/code][/img]
