Advertisement

OpenAL

Started by January 25, 2005 09:55 AM
4 comments, last by GameDev.net 19 years, 10 months ago
I thought it was cool, It really is cool but... It trows a "First-Chance Exception" on the alutinit() function and so I can`t debug it easily, I gotta pass over 3 pieces of "Invalid Handle" At first I thought it was because of the drivers, But I got the latest OpenAL dlls, I`m downloading the Latest OpenAL SDK. Now it seems that it can work if I just run it or pass those 3 exceptions, but it`s eating my head... Is that normal on a nForce audio card ? or do I really gotta disable those first-chance exceptions(PS:How do I do it ?), and... Is there something wrong with my code or because I already initialised OpenGL ? alutinit is the like the first function->initialisation of OpenAL, what could be wrong with my code ?

Relative Games - My apps

It shouldn't be a problem that you've already set up OpenGL. It's quite independant from OpenAL. I've never come across these errors you mention... are you calling it as alutInit (0, null); or with some other parameters?

Also, what's the backtrace/call stack on the exception(s)?
Advertisement
Plus, in my experience, it's better avoiding allut and just creating the device yourself. allut seems to also not work on many computers, with no indication of any errors.

just my 2cents
I`ll try the "manual" thingy once I`m having my little sounds parsed on :D

And This is the so called Call Stack->

NTDLL! 7c90eb74()
NTDLL! 7c90eb94()
NVOPENAL! 0113b8a7()

Relative Games - My apps

Check out the sound subsystem we implemented in:

http://www.gamedev.net/community/forums/topic.asp?topic_id=290348&PageSize=25&WhichPage=4
Hello,
I am trying to implement a 3d asteroids type shooting game using Java and OpenGL. To save me actually hardcoding in the 3D shapes is there a way I can use a games engine that will actually write the code drawing the 3D shapes for me in Java using an OpenGL binding (GL4Java). That way I can copy the code for the shapess and manipulate as necessary.

Ta very much!

This topic is closed to new replies.

Advertisement