mirror of
https://github.com/AxioDL/amuse.git
synced 2025-07-01 19:03:47 +00:00
Multiple StartSample bug fix
This commit is contained in:
parent
a4b8946ee2
commit
aa5abd5ff5
@ -839,6 +839,7 @@ void Voice::startSample(SampleId sampId, int32_t offset) {
|
||||
if (const SampleEntry* sample = m_audioGroup.getSample(sampId)) {
|
||||
std::tie(m_curSample, m_curSampleData) = m_audioGroup.getSampleData(sampId, sample);
|
||||
|
||||
m_state.m_sampleEnd = false;
|
||||
m_sampleRate = m_curSample->m_sampleRate;
|
||||
m_curPitch = m_curSample->getPitch();
|
||||
m_pitchDirty = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user