mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-27 02:13:32 -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:
@@ -93,7 +93,7 @@ inline void DynProcEffect::calcRelease()
|
||||
}
|
||||
|
||||
|
||||
Effect::ProcessStatus DynProcEffect::processImpl(SampleFrame* buf, const fpp_t frames)
|
||||
Effect::ProcessStatus DynProcEffect::processImpl(SampleFrame* buf, const f_cnt_t frames)
|
||||
{
|
||||
//qDebug( "%f %f", m_currentPeak[0], m_currentPeak[1] );
|
||||
|
||||
@@ -134,7 +134,7 @@ Effect::ProcessStatus DynProcEffect::processImpl(SampleFrame* buf, const fpp_t f
|
||||
}
|
||||
}
|
||||
|
||||
for (fpp_t f = 0; f < frames; ++f)
|
||||
for (f_cnt_t f = 0; f < frames; ++f)
|
||||
{
|
||||
auto s = std::array{buf[f][0], buf[f][1]};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user