Jim Wilson wrote:
> Found the problem and here's the fix.  Type "once" sounds were never getting
> stopped.
> 
> Description of patch:
> Minor patch.  Basically just moved a line of code that was causing a check for
>  when sound should be stopped to be skipped. Now type "once" sounds get
> stopped when they should.  Which means they'll now play when needed a second time.

Yep, that's correct.
In an attempt to get out of the update() function as quick as possible 
I've changed this in a previous patch, but a patch I sent to David this 
week already corrected that.

I'm still in the middle of implementing a bunch of other stuff to have 
more controll over the starting/stopping of the sounds using the XML 
configuration, so there are some things which should be addressed in the 
near future (rumble only plays when the nose gear touches the ground for 
instance).

Thanks anyway Jim.


> This file contains a patched fg_sounds.cxx file:
> http://www.spiderbark.com/fgfs/fg_sound-patch-20020309.tar.gz

Erik






_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to