Skip to content

Commit

Permalink
Fix setting audio device on Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
m1maker committed Nov 1, 2024
1 parent fb30fcf commit 0c70d74
Show file tree
Hide file tree
Showing 3 changed files with 715 additions and 489 deletions.
2 changes: 1 addition & 1 deletion Release/Tests/sound_pool_test.ngt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ update_window_freq=0;
while(!quit_requested){
wait_event();
if(key_repeat(KEY_SPACE)){
sp.play_1d("/mnt/c/windows/media/Windows Default.wav", 0, 20, false);
sp.play_1d("c:/windows/media/Windows Default.wav", 0, 20, false);
sp.update_listener_position(20, 0, 0);
}
}
Expand Down
2 changes: 2 additions & 0 deletions SRC/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@ LONG WINAPI ExceptionHandler(EXCEPTION_POINTERS* exceptionInfo) {
free(symbol);
alert("NGTRuntimeError", ss.str());
exit(1);
return 0;
}

#else
#include <csignal>
#include <execinfo.h>
Expand Down
Loading

0 comments on commit 0c70d74

Please sign in to comment.