Skip to content

Commit ddeb5e0

Browse files
committed
fixed wrong inlet index
1 parent 15df2f9 commit ddeb5e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/objects/sound/SoundfilePlayer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ void SoundfilePlayer::audioOutObject(ofSoundBuffer &outputBuffer){
425425
unusedArgs(outputBuffer);
426426

427427
// trigger, this needs to run in audio thread
428-
if(this->inletsConnected[4]){
428+
if(this->inletsConnected[6]){
429429
if(ofClamp(*(float *)&_inletParams[6],0.0f,1.0f) == 1.0f && !isNextCycle){
430430
isNextCycle = true;
431431
playhead = cueIN;

0 commit comments

Comments
 (0)