![]() |
| [[ Home | Forums | 3D Engines Database | Wiki | Articles/Tutorials | Game Dev Jobs | IRC Chat Network | Contact Us ]] |
|
|
#1 |
|
DevMaster Editor
Join Date: Jan 2005
Posts: 54
|
OpenAL Lesson 6: Advanced Loading and Error Handles
Author:: Jesse Maurais Description: Post your discussions/comments here by clicking on Add Reply. |
|
|
|
|
|
#2 |
|
New Member
Join Date: Aug 2004
Posts: 15
|
I've been trying to run a program I made using OpenAL on a new computer. I have DirectX9.0c installed, but my application crashes when OpenAL tries to open a device. Setting the device to open to "NULL" (supposed to select the default device) or "DirectSound3D" does not work.
This application runs perfectly on my other WinXP PC. Any ideas what could be missing my new Windows box? This needs to be sorted out before I can distribute my program. |
|
|
|
|
|
#3 |
|
Valued Member
Join Date: Jan 2004
Location: England
Posts: 265
|
In somecase, when NULL selected the default device, it will actually select DirectSound3D (as this is actually the default device).
You could try "DirectSound" or "MMSYSTEM", see if that works. There was a lot of talk about the naming convensions on the OpenAL mailing list a few months back, but I cant for the life of me find the e-mail (so much for GMail's glorified seraching system!). Though the fact that it is actually crashing (and not just failing) is a real worry, and leads me to belive that you have maybe got incorrect dll and library versions? Spree |
|
|
|
|
|
#4 |
|
New Member
Join Date: Aug 2004
Posts: 15
|
How embarrassing. I hadn't installed the OpenAL distributable on my new PC.
Too many years of good beer and Scotch Whisky. Thanks again for your help Spree! |
|
|
|
|
|
#5 | |
|
New Member
Join Date: Jan 2006
Location: czech republic
Posts: 6
|
in this function...
Code:
my compiler (GCC under windows, mingw) says: Quote:
|
|
|
|
|
|
|
#6 |
|
DevMaster Staff
Join Date: Oct 2004
Location: Seattle, WA
Posts: 3,707
|
You just need to write iter as &(*iter) in the calls to alDeleteSources and alDeleteBuffers.
___________________________________________
Currently working at Sucker Punch reedbeta.com - OpenGL demos and other projects Luabridge - a lightweight, dependency-free C++/Lua binding library. CD Lite - an unobtrusive, minimal CD player application for Windows. |
|
|
|
|
|
#7 |
|
New Member
Join Date: Jan 2006
Location: czech republic
Posts: 6
|
Thank you so much...
Everything is now O.K. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|