fix: create default device, instead of "" device (which creates a waveout device!)

This commit is contained in:
Brian Matzon 2002-09-11 23:58:23 +00:00
parent bb9a6f85b2
commit 03cef5303a
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ public abstract class BasicTest {
protected void alInitialize() {
//get default device
device = alc.openDevice("");
device = alc.openDevice(null);
if(device == null) {
throw new RuntimeException("Error creating device");
}