Skip to content

Commit 7bc8999

Browse files
committed
ofxMultiSoundPlayer: fixed wrong function for setPause
1 parent 727a0f3 commit 7bc8999

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ofxMultiSoundPlayer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ void ofxMultiSoundPlayer::setSpeed(float spd, int index){
167167
//--------------------------------------------------------------
168168
void ofxMultiSoundPlayer::setPaused(bool bP, int index){
169169
updateInstance([&](ofxSingleSoundPlayer* inst){
170-
instances[index]->setPaused(bP);
170+
inst->setPaused(bP);
171171
},index, "ofxMultiSoundPlayer::setPaused");
172172
checkPaused();
173173
}

0 commit comments

Comments
 (0)