> Modified Files:
>       fg_fx.cxx 
> Log Message:
> Revert a part of the past patch. It still does not crash
> but you can hear again the 737 ...

> --- 130,133 ----
> ***************
> *** 194,200 ****
>   FGFX::play_message( const string path, const string fname )
>   {
> -     if (globals->get_soundmgr()->is_working() == false) {
> -         return;
> -     }
>       SGSoundSample *sample;
>       sample = new SGSoundSample( path.c_str(), fname.c_str() );
> --- 190,193 ----

    Without the above change for FGFX::play_message, I will still get
crashes if you turn on the ATC chatter (wait a bit till it plays a
chatter sound). Can you confirm that?

    (Ok, it wasn't a crash, it's SGSoundSample throwing an
sg_io_exception due to failure of alGenBuffers, and then FG abort()
because of that.)
    
    However, I'm now double checking the whole change, it seems that
is_working() is returning false all the time. I'll have to investigate
this a bit further. This also means my entire patch was no good at the
moment. You might want to revert it for the moment... sorry about that.


    BTW it is easier to test simulate having no audio device by simply
changing the permission on /dev/dsp0 (or the appropriate device) (and
also make sure your openal is set to be use "native" for /dev/dsp*).

    Cos I noticed even if I unload the module, when a process tries to
use the device, my kernel is loading the module for me, unless I fiddle
with things in /etc/modules.conf and/or /etc/modprobe.d/ and/or
/etc/modutils/ which is not as nice.


Pigeon.



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to