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
I might be missing a point, but it looks like the arguments to get_soundmgr are the other way round between the two versions. Richard > -Original Message- > From: David Luff [mailto:[EMAIL PROTECTED]] > Sent: 20 November 2002 5:12 pm > To: [EMAIL PROTECTED] > Subject: [Flightgear-devel]