Skip to content

Commit 0a2853b

Browse files
committed
Minor fix to audioOutput Example
1 parent 33de780 commit 0a2853b

File tree

1 file changed

+2
-2
lines changed
  • examples/sound/audioOutputExample/src

1 file changed

+2
-2
lines changed

examples/sound/audioOutputExample/src/ofApp.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ void ofApp::setup(){
4141
// settings.setOutDevice(devices[0]);
4242
// }
4343

44-
#ifdef TARGET_LINUX
44+
4545
// Latest linux versions default to the HDMI output
4646
// this usually fixes that. Also check the list of available
4747
// devices if sound doesn't work
4848
auto devices = soundStream.getMatchingDevices("default");
4949
if(!devices.empty()){
5050
settings.setOutDevice(devices[0]);
5151
}
52-
#endif
52+
5353

5454
settings.setOutListener(this);
5555
settings.sampleRate = sampleRate;

0 commit comments

Comments
 (0)