Skip to content

Commit

Permalink
Fix SampledAudioNode reset results in no more audio from the node
Browse files Browse the repository at this point in the history
  • Loading branch information
meshula committed Jan 31, 2021
1 parent b848c1c commit 37c6945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/SampledAudioNode.cpp
Expand Up @@ -570,7 +570,7 @@ void SampledAudioNode::reset(ContextRenderLock & r)
v->reset(r);
}

voices.clear();
_createVoicesForNewBus(r);
}

void SampledAudioNode::_createVoicesForNewBus(ContextRenderLock & r)
Expand Down

0 comments on commit 37c6945

Please sign in to comment.