RE: [Flightgear-devel] Got the sound working

2002-11-21 Thread Curtis L. Olson
Yup, C/C++ gives you all the rope you could ever want, the rest is up to you. :-) Curt. David Luff writes: > That's how they are in soundmgr.hxx (they're two different functions - one > is passing in an FGSimpleSound pointer to the sound manager and the other > the file name.) > > I've found th

RE: [Flightgear-devel] Got the sound working

2002-11-21 Thread Frederic BOUVIER
David Luff <[EMAIL PROTECTED]> writes : > I've found the proper answer to my problem now - I was doing: > > FGSimpleSound simple("temp01.wav"); > globals->get_soundmgr()->add(&simple, refname); > > which doesn't work, whereas the following does work: > > FGSimpleSound* simple = new FGSimpleSound("

RE: [Flightgear-devel] Got the sound working

2002-11-21 Thread Richard Bytheway
mailto:[EMAIL PROTECTED]] > Sent: 21 November 2002 10:13 am > To: [EMAIL PROTECTED] > Subject: RE: [Flightgear-devel] Got the sound working > > > On 11/21/02 at 8:24 AM Richard Bytheway wrote: > > >I might be missing a point, but it looks like the arguments to > &

RE: [Flightgear-devel] Got the sound working

2002-11-21 Thread David Luff
On 11/21/02 at 8:24 AM Richard Bytheway wrote: >I might be missing a point, but it looks like the arguments to >get_soundmgr are the other way round between the two versions. > That's how they are in soundmgr.hxx (they're two different functions - one is passing in an FGSimpleSound pointer to the

RE: [Flightgear-devel] Got the sound working

2002-11-21 Thread Richard Bytheway
lightgear-devel] Got the sound working > > > 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 origina

[Flightgear-devel] Got the sound working

2002-11-20 Thread David Luff
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, refna