diff --git a/src/doompanning.cc b/src/doompanning.cc index 2304f9b..33b2d6e 100644 --- a/src/doompanning.cc +++ b/src/doompanning.cc @@ -131,7 +131,7 @@ inline void spawn_doom(ControllerContext &ctx) ZeroMemory(&pi, sizeof(pi)); char cmdLine[256]; - snprintf(cmdLine, sizeof(cmdLine), "%s", DOOM_EXECUTABLE); + snprintf(cmdLine, sizeof(cmdLine), "%s -nosound", DOOM_EXECUTABLE); // Start the child process. if (!CreateProcess(NULL, // No module name (use command line) @@ -239,7 +239,7 @@ void check_on_dooms(ControllerContext &ctx) } } while (pid > 0); #else -#warning "pid checking not implemented for Windows" +//#warning "pid checking not implemented for Windows" #endif // Find dooms that are in Endoom state and remove them. This works for