fixed compilation-error

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1022 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-05-25 22:59:53 +00:00
parent bf077dd520
commit f3168bac1b
2 changed files with 2 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
2008-05-25 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
* plugins/singerbot/singerbot.cpp:
* include/meter_model.h:
* include/song.h:
* include/pattern.h:

View File

@@ -283,7 +283,7 @@ void singerBot::createWave( notePlayHandle * _n )
hdata->frequency = _n->frequency();
hdata->duration = _n->length() > 0 ?
_n->length() * 60.0f * BEATS_PER_TACT
_n->length() * 60.0f * DefaultBeatsPerTact
/ 64.0f / engine::getSong()->getTempo() :
0;
int word_index = _n->patternIndex() % m_words.size();