Fix things that won't build if -DLMMS_DEBUG is in CXX_FLAGS.

This commit is contained in:
Raine M. Ekman
2015-01-07 08:14:48 +02:00
committed by Lukas W
parent a43a6bb3ba
commit 78350045a2
2 changed files with 4 additions and 2 deletions

View File

@@ -221,7 +221,7 @@ bool EffectChain::processAudioBuffer( sampleFrame * _buf, const fpp_t _frames, b
it = m_effects.end()-1;
printf( "numerical overflow after processing "
"plugin \"%s\"\n", ( *it )->
publicName().toUtf8().constData() );
descriptor()->name);
break;
}
}

View File

@@ -30,7 +30,9 @@
#include "Pattern.h"
#include "SampleBuffer.h"
#include "SampleTrack.h"
#ifdef LMMS_DEBUG
#include <assert.h>
#endif
SampleRecordHandle::SampleRecordHandle( SampleTCO* tco ) :