Game Development Community

Updating OpenAL

by Eric Robinson · in Torque Game Builder · 03/01/2007 (8:15 pm) · 1 replies

I'm looking into adding Capture Support to Torque. I've found that the header files included in the default Torque installation do not have the appropriate functions included (alcCaptureOpenDevice, etc). In fishing around in the source tree to find where the files actually lie (outside of the XCode Project) I found that each platform's directory not only contained its own set of OpenAL Headers but that Linux and MacOSX had an OpenAL binary present as well.

If I want to add support for input, do I need to go and rebuild and provide those binary files as well or can I simply replace the headers, fix any incongruencies with the headers, and go?

Thoughts?

#1
08/01/2007 (5:44 pm)
I'd imagine you'd have to rebuild the library and link it in and hope they didn't change anything in the functions that Torque uses.

I'm working on a project that needs audio capture as well. If you've gotten anything working, I'd love to see it. If not, I'll probably be posting a resource when I get done with it on how to upgrade to the latest version of OpenAL and a tutorial somewhere on recording audio.

Right now I'm just building the code up in a small OpenGL/OpenAL framework I threw together. Want to make sure my evil plan will even work before I start mucking around with the TGB code.