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:
@@ -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:
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user