Skip to content

Commit 0bd64fc

Browse files
committed
force init audio devices index to avoid crashes on startup
1 parent e7b6a18 commit 0bd64fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ofxVisualProgramming.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ ofxVisualProgramming::ofxVisualProgramming(){
8585
audioGUIOUTIndex = -1;
8686
bpm = 120;
8787
dspON = false;
88+
audioINDev = 0;
89+
audioOUTDev = 0;
8890

8991
profilerActive = false;
9092
inspectorActive = false;

0 commit comments

Comments
 (0)