Do not delete pool buffers in dummy audio

This commit is contained in:
Javier Serrano Polo
2016-05-23 21:41:29 +02:00
parent 8a5589e7fe
commit 293926a1dd

View File

@@ -101,7 +101,10 @@ private:
{
break;
}
delete[] b;
if( mixer()->hasFifoWriter() )
{
delete[] b;
}
const int microseconds = static_cast<int>( mixer()->framesPerPeriod() * 1000000.0f / mixer()->processingSampleRate() - timer.elapsed() );
if( microseconds > 0 )