Skip to content

Commit

Permalink
- fixed oversampling throwing error in monophonic context
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph-hart committed Nov 18, 2021
1 parent 328cde3 commit d020672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hi_dsp_library/node_api/nodes/processors.h
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ struct oversample_base
{
ScopedPointer<Oversampler> newOverSampler;

if(ps.voiceIndex != nullptr)
if(ps.voiceIndex != nullptr && ps.voiceIndex->isEnabled())
{
scriptnode::Error e;
e.error = Error::IllegalPolyphony;
Expand Down

0 comments on commit d020672

Please sign in to comment.