Permalink
Browse files

Fixed analog outs on Heavy

  • Loading branch information...
giuliomoro committed Oct 17, 2017
1 parent b27bbd8 commit 4ce6734b099e02432b83ac24c850da8799647d92
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/hvresources/render.cpp
@@ -522,7 +522,7 @@ void render(BelaContext *context, void *userData)
} else {
if(ch >= context->audioOutChannels) {
int m = n/2;
context->analogOut[m * context->analogFrames + (ch-context->audioOutChannels)] = constrain(gHvOutputBuffers[ch*context->audioFrames + n],0.0,1.0);
context->analogOut[m * context->analogOutChannels + (ch-context->audioOutChannels)] = gHvOutputBuffers[ch*context->audioFrames + n];
} else {
context->audioOut[n * context->audioOutChannels + ch] = gHvOutputBuffers[ch * context->audioFrames + n];
}

0 comments on commit 4ce6734

Please sign in to comment.