Skip to content

Commit

Permalink
plugins: EnvGen - update number of produced samples on audio-rate gates
Browse files Browse the repository at this point in the history
fixes supercollider#1023

Signed-off-by: Tim Blechmann <tim@klingt.org>
  • Loading branch information
timblechmann committed Jan 24, 2014
1 parent 797be36 commit 7856dcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/plugins/LFUGens.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2899,7 +2899,7 @@ static inline bool EnvGen_nextSegment(EnvGen * unit, int & counter, double & lev
}

template <bool CheckGateOnSustain, typename GateCheck>
static inline void EnvGen_perform(EnvGen * unit, float *& out, double & level, int nsmps, GateCheck const & gateCheck)
static inline void EnvGen_perform(EnvGen * unit, float *& out, double & level, int & nsmps, GateCheck const & gateCheck)
{
switch (unit->m_shape) {
case shape_Step :
Expand Down

0 comments on commit 7856dcc

Please sign in to comment.