ALC Concerns

Hi everyone!

I am getting another crash when I am trying to open a device with contexts. I have tried to pass null as well as “DirectSound3D” so far, with no results. When making a call to alcGetString, I get a Null Pointer on the return of the call.

I have had no problems working with the ALut at all.

Is there any other valid parameter to pass?

Thanks,

Dustin

Provide some information about the hardware you’re trying this on and code of your startup.

The Card is a SoundMax Integrated Digital Audio card.

the init code for creating a context is setup like this:


     ALFactory.initialize();
     al  = ALFactory.getAL();
     alc = ALFactory.getALC();
     
     String deviceName = "DirectSound3D";
     device = alc.alcOpenDevice(deviceName);
     context = alc.alcCreateContext(device, null);
     alc.alcMakeContextCurrent(context);


I am pretty sure that’s the way the code is setup in the tutorial. I am not having any problems with the Alut class.

Thanks,

Dustin