miscellanous fixes

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.3@647 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-01-05 16:07:56 +00:00
parent 4685223110
commit 3fefa8db52
9 changed files with 28 additions and 8 deletions

View File

@@ -615,6 +615,11 @@ void FASTCALL envelopeAndLFOWidget::fillLevel( float * _buf, f_cnt_t _frame,
const f_cnt_t _release_begin,
const fpp_t _frames )
{
if( _frame < 0 || _release_begin < 0 )
{
return;
}
fillLFOLevel( _buf, _frame, _frames );
for( fpp_t offset = 0; offset < _frames; ++offset, ++_buf, ++_frame )