We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33de780 commit 0a2853bCopy full SHA for 0a2853b
examples/sound/audioOutputExample/src/ofApp.cpp
@@ -41,15 +41,15 @@ void ofApp::setup(){
41
// settings.setOutDevice(devices[0]);
42
// }
43
44
-#ifdef TARGET_LINUX
+
45
// Latest linux versions default to the HDMI output
46
// this usually fixes that. Also check the list of available
47
// devices if sound doesn't work
48
auto devices = soundStream.getMatchingDevices("default");
49
if(!devices.empty()){
50
settings.setOutDevice(devices[0]);
51
}
52
-#endif
53
54
settings.setOutListener(this);
55
settings.sampleRate = sampleRate;
0 commit comments