Skip to content
Snippets Groups Projects
Commit f9d18800 authored by dg's avatar dg
Browse files

plop

git-svn-id: http://svn.net-core.org/repos/t-engine4@3736 51575b47-30f0-44d4-a5cc-537603b46e54
parent cd8054cc
No related branches found
No related tags found
No related merge requests found
......@@ -91,6 +91,7 @@ void openal_get_devices()
{
// devList.numDefaultDevice = numDevices;
}
printf("OpenAL device available: %s (default %s)\n", deviceList, defaultDevice);
deviceList += strlen(deviceList);
if (deviceList[0] == 0)
......@@ -110,7 +111,7 @@ void openal_get_devices()
}
int init_openal() {
// openal_get_devices();
openal_get_devices();
audioDevice = alcOpenDevice(NULL);
if (audioDevice == NULL) return 0;
audioContext = alcCreateContext(audioDevice, NULL);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment