mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-26 09:53:03 -04:00
Replace fpp_t with f_cnt_t (#8311)
* Remove fpp_t, switch f_cnt_t to std::uint64_t, change uses of fpp_t to use f_cnt_t instead * Switch release_frame in Lb302 to use f_cnt_t * Switch ch_cnt_t to uint16_t * Update src/core/NotePlayHandle.cpp Co-authored-by: Dalton Messmer <messmer.dalton@gmail.com> * Update src/core/NotePlayHandle.cpp Co-authored-by: Dalton Messmer <messmer.dalton@gmail.com> --------- Co-authored-by: Dalton Messmer <messmer.dalton@gmail.com>
This commit is contained in:
@@ -267,11 +267,11 @@ void BitInvader::playNote( NotePlayHandle * _n,
|
||||
Engine::audioEngine()->outputSampleRate() );
|
||||
}
|
||||
|
||||
const fpp_t frames = _n->framesLeftForCurrentPeriod();
|
||||
const f_cnt_t frames = _n->framesLeftForCurrentPeriod();
|
||||
const f_cnt_t offset = _n->noteOffset();
|
||||
|
||||
auto ps = static_cast<BSynth*>(_n->m_pluginData);
|
||||
for( fpp_t frame = offset; frame < frames + offset; ++frame )
|
||||
for( f_cnt_t frame = offset; frame < frames + offset; ++frame )
|
||||
{
|
||||
_working_buffer[frame] = SampleFrame(ps->nextStringSample(m_graph.length()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user