--- a/misc/openalbridge/openalbridge.c Sat Apr 17 23:03:52 2010 +0000
+++ b/misc/openalbridge/openalbridge.c Sun Apr 18 23:19:15 2010 +0000
@@ -93,7 +93,7 @@
}
if (usehardware == AL_TRUE) {
- default_device = alcGetString(NULL, ALC_DEFAULT_DEVICE_SPECIFIER);
+ default_device = alcGetString(NULL, ALC_DEFAULT_DEVICE_SPECIFIER);
device = alcOpenDevice(default_device);
} else
device = alcOpenDevice("Generic Software");
@@ -512,6 +512,7 @@
return AL_FALSE;
}
globalindex--;
+ // most likely should do other stuff
alGetError(); /* clear any AL errors beforehand */