return default-value if there's no peak-effect

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1223 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-06-30 16:50:16 +00:00
parent c2d9a5315d
commit 276fe8b5a3

View File

@@ -65,6 +65,7 @@ float peakController::value( int _offset )
{
return m_peakEffect->lastSample();
}
return( 0 );
}