Oh well, in follow up to my own message that hasn't even arrived yet (!),
the following worked OK:
globals->get_soundmgr()->add(refname, "temp01.wav");
but the original, which looks equivalent to me, still doesn't
FGSimpleSound simple("temp01.wav");
globals->get_soundmgr()->add(&simple, refname);
I still don't get a human-readable refname but since it works to stop the
sound looping when required I'm assuming its OK.
Cheers - Dave
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel