We no longer know what were the problems Ryan refers to,
but the code seems to work just fine with recent OpenAL and solves this error:
AL lib: (EE) alc_cleanup: 1 device not closed
Might help with #98.
OPENAL_StopSound(OPENAL_ALL);
-// this is causing problems on Linux, but we'll force an _exit() a little
-// later in the shutdown process. --ryan.
-#if !PLATFORM_LINUX
-
for (int i = 0; i < sounds_count; ++i) {
OPENAL_Sample_Free(samp[i]);
}
OPENAL_Close();
-#endif
}
void Game::newGame()