Skip to content

Commit b261e08

Browse files
committed
fixed sound engine proper init
1 parent 747c02e commit b261e08

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ofxVisualProgramming.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1814,9 +1814,8 @@ void ofxVisualProgramming::activateDSP(){
18141814
if(!found){
18151815
glm::vec3 temp = canvas.screenToWorld(glm::vec3(ofGetWindowWidth()/2,ofGetWindowHeight()/2 + 100,0));
18161816
addObject("audio device",ofVec2f(temp.x,temp.y));
1817-
}else{
1818-
resetSystemObjects();
18191817
}
1818+
resetSystemObjects();
18201819

18211820
setPatchVariable("dsp",1);
18221821
dspON = true;

0 commit comments

Comments
 (0)