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:
Sotonye Atemie
2026-03-18 06:33:36 -04:00
committed by GitHub
parent 0f0d972b52
commit eb5b757947
148 changed files with 306 additions and 308 deletions

View File

@@ -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()));
}