fix: create default device, instead of "" device (which creates a waveout device!)
This commit is contained in:
parent
bb9a6f85b2
commit
03cef5303a
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue