Greetings, In Flightgear 2.0 and CVS on Gentoo linux, ATIS transmissions were not working properly.
Upon examining the code, I noticed that ATIS was initialized in the fgIdleFunction with all the other subsystems, yet fgInitSoundManager() isn't called until inside the main loop. Since ATIS is setup before OpenAL, when ATIS attempts to load the default.wav file, it fails when it hits the if(!_working) trap in the audio load function. I have worked around this problem by spamming the #ifdef ENABLE_AUDIO_SUPPORT block of code from the main loop into main.cxx just before fgOSMainLoop(); is called. This init's OpenAL before the other subsystems. I'm aware that this is an awful and piggy solution and am willing to write a proper patch, but I don't understand how sound init is supposed to work, where, and when. Hope this helps someone, I've seen s few unresolved reports of this issue around on the 'net. Cheers, Zeb McClure ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel