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.

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

Best,

Jim

Jim Wilson <[EMAIL PROTECTED]> said:

> >>>>
> To fully support this there is a new fucntion call:
> 
>     FGSimpleSound *sample = new FGSimpleSound("filename");
>     mgr->add(sample, "name");
> 
> should be replaced by:
> 
>     FGSimpleSound *sample = mgr->add("name", "filename");
> 
> But the old behaviour is still supported with one minor change, sounds
> with the same name aren't supported anymore.
> <<<<
> 
> Is this why the gear sounds only work one time each way?
> 
> Best,
> 
> Jim


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

Reply via email to