MODFREQ_TO_RELEASE)</div>
<div class="line">        maxtime = (psd.durationms - psd.release); <span class="comment">// until release</span></div>
<div class="line">      <span class="keywordflow">else</span> <span class="keywordflow">if</span> (psd.modfreq == MODFREQ_TO_SUSTAIN)</div>
<div class="line">        maxtime = (psd.attack + psd.decay); <span class="comment">// until sustain</span></div>
<div class="line"> </div>
<div class="line">      <span class="keywordtype">int</span> f = ((current &gt; maxtim