Re: [Flightgear-devel] New Sound system committed

2009-10-31 Thread Erik Hofman
Ron Jensen wrote: On Fri, 2009-10-30 at 10:08 +0100, Erik Hofman wrote: Nicolas Quijano wrote: The wind sample we use is indeed very saturated, and was drowned by the rumble sample before. Did another run today and think you might be fooled by another sound effect that I have been trying

Re: [Flightgear-devel] New Sound system committed

2009-10-31 Thread Victhor Foster
The sound is glitched here for a few planes. Ec135 is glitched on fly- by view, but F-16 isn't. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this

Re: [Flightgear-devel] New Sound system committed

2009-10-31 Thread Curtis Olson
On Sat, Oct 31, 2009 at 9:21 AM, Erik Hofman wrote: Alright, enough of this. I've spent three full weeks trying to get the position and orientation correctly and asked several times for help but no one seems to care. Fine, it. Erik, I've seen one thread with over 100 messages on the

Re: [Flightgear-devel] New Sound system committed

2009-10-31 Thread syd adams
On Sat, Oct 31, 2009 at 7:21 AM, Erik Hofman e...@ehofman.com wrote: Alright, enough of this. I've spent three full weeks trying to get the position and orientation correctly and asked several times for help but no one seems to care. Fine, fuck it. Erik I wish I could, but about all I can

Re: [Flightgear-devel] New Sound system committed

2009-10-31 Thread Arnt Karlsen
On Sat, 31 Oct 2009 09:54:06 -0500, Curtis wrote in message ef5fc9920910310754n7f4e32ech78caf4694415...@mail.gmail.com: On Sat, Oct 31, 2009 at 9:21 AM, Erik Hofman wrote: Alright, enough of this. I've spent three full weeks trying to get the position and orientation correctly and asked

Re: [Flightgear-devel] New Sound system committed

2009-10-31 Thread Erik Hofman
Arnt Karlsen wrote: On Sat, 31 Oct 2009 09:54:06 -0500, Curtis wrote in message ef5fc9920910310754n7f4e32ech78caf4694415...@mail.gmail.com: Erik, I've seen one thread with over 100 messages on the topic and this thread is about 60 messages already, not to mention all the smaller

Re: [Flightgear-devel] New Sound system committed

2009-10-30 Thread Erik Hofman
Nicolas Quijano wrote: Little mistake : The wind sound, which wasn't audible before, is now vastly over the sound of the rumble, which I had mistakenly thought was the wind (it makes for a better wind on wings sound, from this point of hearing approximately between my ears) The wind sample

Re: [Flightgear-devel] New Sound system committed

2009-10-30 Thread Erik Hofman
Nicolas Quijano wrote: The wind sample we use is indeed very saturated, and was drowned by the rumble sample before. Did another run today and think you might be fooled by another sound effect that I have been trying to simulate; at higher alpha or beta values the propwash sound effect kicks

Re: [Flightgear-devel] New Sound system committed

2009-10-30 Thread Ron Jensen
On Fri, 2009-10-30 at 10:08 +0100, Erik Hofman wrote: Nicolas Quijano wrote: The wind sample we use is indeed very saturated, and was drowned by the rumble sample before. Did another run today and think you might be fooled by another sound effect that I have been trying to simulate; at

Re: [Flightgear-devel] New Sound system committed

2009-10-30 Thread syd adams
Erik, - Is there a model you're working on with sound? I've just been testing with whatever I happen to want to load... - Today while flying I noticed the marker beacon is doppler shifted in all aircraft views. Tower and Fly-by view it sounds correctly. Thanks, Ron Hi Ron , Which

Re: [Flightgear-devel] New Sound system committed

2009-10-30 Thread Jari Häkkinen
Erik Hofman wrote: I've committed the current state of my local code to see if it fixes anything. Erik Erik, there is a typo in SIMGEAR/simgear/sound/Makefile.am, see diff below. Cheers, Jari Index: simgear/sound/Makefile.am

Re: [Flightgear-devel] New Sound system committed

2009-10-30 Thread syd adams
Just a note to say ATIS now works here ... -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry

Re: [Flightgear-devel] New Sound system committed

2009-10-29 Thread Scott Hamilton
On Thu, 2009-10-29 at 02:26 +0100, Csaba Halász wrote: Hi Erik! If a sound sample keeps its default orientation of all zeroes then in SGSoundSample::update_absolute_position the sc2body*q will be also null and cause a division by zero in SGQuatdouble::backTransform. Perhaps this

Re: [Flightgear-devel] New Sound system committed

2009-10-29 Thread Erik Hofman
Scott Hamilton wrote: On Thu, 2009-10-29 at 13:57 +0100, Erik Hofman wrote: Hi ya Erik, I just tried out the test3, no sound what so ever... SimGear/source/simgear/sound ./openal_test3 default position and orientation NaN in source position NaN in source orientation playing

Re: [Flightgear-devel] New Sound system committed

2009-10-29 Thread Erik Hofman
Erik Hofman wrote: Scott Hamilton wrote: On Thu, 2009-10-29 at 13:57 +0100, Erik Hofman wrote: Hi ya Erik, I just tried out the test3, no sound what so ever... SimGear/source/simgear/sound ./openal_test3 default position and orientation NaN in source position NaN in source

Re: [Flightgear-devel] New Sound system committed

2009-10-29 Thread dave perry
Erik Hofman wrote: Scott Hamilton wrote: On Thu, 2009-10-29 at 13:57 +0100, Erik Hofman wrote: Hi ya Erik, I just tried out the test3, no sound what so ever... I've committed the current state of my local code to see if it fixes anything. Erik Hi Erik, Updated

Re: [Flightgear-devel] New Sound system committed

2009-10-29 Thread Alasdair Campbell
On Thu, 2009-10-29 at 09:45 -0600, dave perry wrote: Erik Hofman wrote: Scott Hamilton wrote: On Thu, 2009-10-29 at 13:57 +0100, Erik Hofman wrote: Hi ya Erik, I just tried out the test3, no sound what so ever... I've committed the current state of my local

Re: [Flightgear-devel] New Sound system committed

2009-10-29 Thread Ron Jensen
On Thu, 2009-10-29 at 14:36 +0100, Erik Hofman wrote: Scott Hamilton wrote: On Thu, 2009-10-29 at 13:57 +0100, Erik Hofman wrote: Hi ya Erik, I just tried out the test3, no sound what so ever... I've committed the current state of my local code to see if it fixes

Re: [Flightgear-devel] New Sound system committed

2009-10-29 Thread Alan Teeder
With VC++ 2008 Express - no engine sound yesterday Today:- -- Build started: Project: SimGear, Configuration: Release Win32 -- Compiling... sample_group.cxx ..\..\simgear\sound\sample_group.cxx(387) : error C2664: 'isNaN' : cannot convert parameter 1 from 'SGVec3d' to 'float *'

Re: [Flightgear-devel] New Sound system committed

2009-10-29 Thread Erik Hofman
Alan Teeder wrote: With VC++ 2008 Express - no engine sound yesterday Today:- -- Build started: Project: SimGear, Configuration: Release Win32 -- Compiling... sample_group.cxx ..\..\simgear\sound\sample_group.cxx(387) : error C2664: 'isNaN' : cannot convert parameter 1 from

Re: [Flightgear-devel] New Sound system committed

2009-10-29 Thread Erik Hofman
Ron Jensen wrote: Hi Erik, Sound seems to work O.K. today for me. Except when I tune atis I get: voice synth: word '(many lines of stuff...)' not found source and listener distance greater than 20km! source and listener distance greater than 20km! And no ATIS sound... I assume its

Re: [Flightgear-devel] New Sound system committed

2009-10-29 Thread Alan Teeder
It compiles and sounds are back! That was quick. Well done Alan -Original Message- From: Erik Hofman [mailto:e...@ehofman.com] Sent: 29 October 2009 17:07 To: FlightGear developers discussions Subject: Re: [Flightgear-devel] New Sound system committed Ron Jensen wrote: Hi Erik

Re: [Flightgear-devel] New Sound system committed

2009-10-29 Thread Nicolas Quijano
: Erik Hofman [mailto:e...@ehofman.com] Sent: 29 October 2009 17:07 To: FlightGear developers discussions Subject: Re: [Flightgear-devel] New Sound system committed Ron Jensen wrote: Hi Erik, Sound seems to work O.K. today for me. Except when I tune atis I get: voice synth: word

Re: [Flightgear-devel] New Sound system committed

2009-10-29 Thread Scott Hamilton
On Thu, 2009-10-29 at 09:45 -0600, dave perry wrote: Hurray! another build with working engine sounds, great debugging work by all. S. Hi Erik, Updated both my core2 duo (64 bit FC10) and my Athlon XP 3200+ (32 bit FC10) both running FC10 openal and freealut distribution rpms.

Re: [Flightgear-devel] New Sound system committed

2009-10-29 Thread Nicolas Quijano
Little mistake : The wind sound, which wasn't audible before, is now vastly over the sound of the rumble, which I had mistakenly thought was the wind (it makes for a better wind on wings sound, from this point of hearing approximately between my ears) The wind sample we use is indeed very

Re: [Flightgear-devel] New Sound system committed

2009-10-28 Thread Scott Hamilton
On Wed, 2009-10-28 at 12:33 +1300, James Sleeman wrote: I'm using OpenAL-Soft 1.9.563 compiled from source from http://kcat.strangesoft.net/openal.html and ALUT 1.1 compiled from source from http://connect.creativelabs.com/openal/Downloads/ALUT/freealut-1.1.0.tar.gz These both seem to be

Re: [Flightgear-devel] New Sound system committed

2009-10-28 Thread Erik Hofman
Csaba Halász wrote: On Tue, Oct 27, 2009 at 1:23 PM, Erik Hofman e...@ehofman.com wrote: This is getting silly. I've now committed code that checks is the source and listener are further apart than 50km or if there are any NaN's in the position, orientation or velocity data of the source or

Re: [Flightgear-devel] New Sound system committed

2009-10-28 Thread Erik Hofman
Csaba Halász wrote: Starting at EGLL with the default c172p, I notice: 1) the engine sound is louder in cockpit than in external view 2) tuning to ATIS 123.9 I get the source and listener distance greater than 50km! message (twice) 3) tuning away from ATIS frequency does not stop ATIS sound

Re: [Flightgear-devel] New Sound system committed

2009-10-28 Thread Nicolas Quijano
Anybody got sounds working properly on *windows* (ATIS and aircraft sounds working at the same time ?) If yes, what is your setup, not just openAL wise, but do you also build OSG, and if yes, with what options ? Share as much as possible of your setup, if current CVS works for you, please. I

Re: [Flightgear-devel] New Sound system committed

2009-10-28 Thread Nicolas Quijano
Forgot to mention it's still crashing in Debug mode due to a corrupt heap (according to the debugger, this is the likely culprit) on the SGSoundSample::free_data() call, you guessed it, on the same spot as a couple weeks back : rumble.wav. No changes in behaviour in DEBUG mode even with all the

Re: [Flightgear-devel] New Sound system committed

2009-10-28 Thread Csaba Halász
Hi Erik! If a sound sample keeps its default orientation of all zeroes then in SGSoundSample::update_absolute_position the sc2body*q will be also null and cause a division by zero in SGQuatdouble::backTransform. -- Csaba/Jester

Re: [Flightgear-devel] New Sound system committed

2009-10-27 Thread Erik Hofman
dave perry wrote: I have been away on a trip for the last 5 days. Today, I did a make clean for both SimGear and fgfs before the compiles. I launched fgfs on the 32bit Athlon and at first, only ATC and no wind or aircraft sounds. It was night, so I used the gui to change the time to

Re: [Flightgear-devel] New Sound system committed

2009-10-27 Thread Scott Hamilton
On Tue, 2009-10-27 at 09:03 +0100, Erik Hofman wrote: dave perry wrote: I have been away on a trip for the last 5 days. Today, I did a make clean for both SimGear and fgfs before the compiles. I launched fgfs on the 32bit Athlon and at first, only ATC and no wind or aircraft sounds.

Re: [Flightgear-devel] New Sound system committed

2009-10-27 Thread Alan Teeder
:14 To: FlightGear developers discussions Subject: Re: [Flightgear-devel] New Sound system committed On Tue, 2009-10-27 at 09:03 +0100, Erik Hofman wrote: dave perry wrote: I have been away on a trip for the last 5 days. Today, I did a make clean for both SimGear and fgfs before

Re: [Flightgear-devel] New Sound system committed

2009-10-27 Thread Scott Hamilton
On Tue, 2009-10-27 at 22:13 +1100, Scott Hamilton wrote: I forgot to mention; 64bit AMD CPU 2.6.27.29-0.1-default #1 SMP 2009-08-15 17:53:59 +0200 x86_64 x86_64 x86_64 GNU/Linux freealut 1.1.0 (from creative labs, compiled from source) openal-soft-1.9.563 (compiled from source) 19: PCI

Re: [Flightgear-devel] New Sound system committed

2009-10-27 Thread Erik Hofman
This is getting silly. I've now committed code that checks is the source and listener are further apart than 50km or if there are any NaN's in the position, orientation or velocity data of the source or listener. If the sound is still inaudible while FlightGear prints a warning in the sort of

Re: [Flightgear-devel] New Sound system committed

2009-10-27 Thread Erik Hofman
Alan Teeder wrote: I had no sound yesterday evening – but this was an aircraft that I am working on (JSBSim) and didn’t investigate why this should be suddenly so. Just one thing; I'm testing the airports you all provide without the proper scenery for that area. Could you try the same by

Re: [Flightgear-devel] New Sound system committed

2009-10-27 Thread dave perry
. *From:* Scott Hamilton [mailto:scott.hamil...@popplanet.biz] *Sent:* 27 October 2009 11:14 *To:* FlightGear developers discussions *Subject:* Re: [Flightgear-devel] New Sound system committed On Tue, 2009-10-27 at 09:03 +0100, Erik Hofman wrote

Re: [Flightgear-devel] New Sound system committed

2009-10-27 Thread Csaba Halász
On Tue, Oct 27, 2009 at 1:23 PM, Erik Hofman e...@ehofman.com wrote: This is getting silly. I've now committed code that checks is the source and listener are further apart than 50km or if there are any NaN's in the position, orientation or velocity data of the source or listener. If the

Re: [Flightgear-devel] New Sound system committed

2009-10-27 Thread jorg van der venne
I had the same problem for 4 days and I tried about everything but nothing seemed to work until i just compiled OpenAL-Soft and then Alut and then make clean on SimGear and Flightgear followed by the installation and it worked. Al packages were checked-out Sunday 25th. I am sure it was svn://

Re: [Flightgear-devel] New Sound system committed

2009-10-27 Thread James Sleeman
On 28/10/09 08:22, jorg van der venne wrote: Al packages were checked-out Sunday 25th. I am sure it was svn://connect.creativelabs.com/OpenAL/trunk/OpenAL-Soft http://connect.creativelabs.com/OpenAL/trunk/OpenAL-Soft svn://connect.creativelabs.com/OpenAL/trunk/Alut

Re: [Flightgear-devel] New Sound system committed

2009-10-26 Thread dave perry
Erik Hofman wrote: It would be nice to know who of you who have problems run on 64-bit and if any one with these problems (sounds not playing) actually runs in 32-bit. Erik -- Come build with us! The BlackBerry(R)

Re: [Flightgear-devel] New Sound system committed

2009-10-26 Thread dave perry
dave perry wrote: Erik Hofman wrote: It would be nice to know who of you who have problems run on 64-bit and if any one with these problems (sounds not playing) actually runs in 32-bit. Erik -- Come build with

Re: [Flightgear-devel] New Sound system committed

2009-10-24 Thread syd adams
I did a new cvs checkout of flightgear and simgear, and I now have sound again ... Althought a separate problem popped up , trying to compile FG crashed until I recompiled simgear with jpeg factory support. -- Come build

Re: [Flightgear-devel] New Sound system committed

2009-10-24 Thread Nicolas Quijano
typo in ATCDCL/AIPlane.cxx : at line 198, sizte_t len; should be size_t len; Cheers, Nic On Sat, Oct 24, 2009 at 2:43 PM, syd adams adams@gmail.com wrote: I did a new cvs checkout of flightgear and simgear, and I now have sound again ... Althought a separate problem popped up , trying to

Re: [Flightgear-devel] New Sound system committed

2009-10-24 Thread Nicolas Quijano
Build with Fredb's setup, using the OpenAL Soft provided device on windows vista 64, I get multiple working sound. Of course, no distance attenuation, as you mentioned. Had to def out the the code mentioned in previous mail, because there is another bug in there that prevents building :

Re: [Flightgear-devel] New Sound system committed

2009-10-24 Thread Vivian Meazza
Hi Nic OpenAL SDK builds here, Vivian -Original Message- From: Nicolas Quijano [mailto:nquij...@gmail.com] Sent: 24 October 2009 20:44 To: FlightGear developers discussions Subject: Re: [Flightgear-devel] New Sound system committed Build with Fredb's setup, using

Re: [Flightgear-devel] New Sound system committed

2009-10-24 Thread Tim Moore
On 10/24/2009 09:29 PM, Nicolas Quijano wrote: typo in ATCDCL/AIPlane.cxx : at line 198, sizte_t len; should be size_t len; Cheers, Nic Fixed. Thanks, Tim -- Come build with us! The BlackBerry(R) Developer Conference

Re: [Flightgear-devel] New Sound system committed

2009-10-23 Thread Erik Hofman
Hans Janssen wrote: Sound is playing but it is off at 0.0 or full on from 0.01 to 1.0, changing the volume between 0.01 and 1.0 doesn't do anything and at 0.01 there's almost no windy noise and i can here the atc-chatter, from 0.04 the noise is loud again. Also the atc-chatter volume

Re: [Flightgear-devel] New Sound system committed

2009-10-23 Thread Scott Hamilton
On Fri, 2009-10-23 at 13:36 +0200, Erik Hofman wrote: This is a bit weird, but it seems like something isn't letting go of the sound device. If I run the openal_test2 the first time, everything goes fine, it plays all 6 samples and then unbinds. If I then run openal_test2 within about

Re: [Flightgear-devel] New Sound system committed

2009-10-23 Thread Erik Hofman
Scott Hamilton wrote: On Fri, 2009-10-23 at 13:36 +0200, Erik Hofman wrote: This is a bit weird, but it seems like something isn't letting go of the sound device. If I run the openal_test2 the first time, everything goes fine, it plays all 6 samples and then unbinds. If I

Re: [Flightgear-devel] New Sound system committed

2009-10-23 Thread syd adams
Im using ArchLinux on 32 bit Athlon XP, but with sound problems :) Seems to be a popular platform for running FlightGear, only I'm running in 32-bit w. OpenAL-Soft without the sound-not-playing problems. -- Come build

Re: [Flightgear-devel] New Sound system committed

2009-10-23 Thread Ron Jensen
On Mon, 2009-10-19 at 13:47 +0200, Erik Hofman wrote: James Sleeman wrote: Seems to be working ok, a bit, umm, stuttery, sort of, particularly background wind, seemed to switch left-right a bit, but those problems might just be me, maybe even just an illusion. Yeah that's probably doe

Re: [Flightgear-devel] New Sound system committed

2009-10-23 Thread Alasdair Campbell
On Fri, 2009-10-23 at 04:05 +0100, Alasdair Campbell wrote: On Thu, 2009-10-22 at 21:22 +0200, Erik Hofman wrote: It would be nice to know who of you who have problems run on 64-bit and if any one with these problems (sounds not playing) actually runs in 32-bit. Erik AS you speak, I

Re: [Flightgear-devel] New Sound system committed

2009-10-22 Thread syd adams
So far I've tried compiling several versions of openal-soft ... and only get certain sounds , and always get an 'AL Error (atc):' in the terminal at startup. I get atc-chatter , and certain aircraft sounds like flaps , engine start ... I've tried openal-soft-1.8.466, 1.9.563 and the git version

Re: [Flightgear-devel] New Sound system committed

2009-10-22 Thread Scott Hamilton
Yeah I'm in the same situation, I've deleted all version of openal and alut, and pulled down the source and compiled for openal and ALUT, still only get once and transit type of sound, looped engine sounds I can't get. I'll keep looking I might try the old creative labs 0.8 version next...

Re: [Flightgear-devel] New Sound system committed

2009-10-22 Thread Erik Hofman
syd adams wrote: So far I've tried compiling several versions of openal-soft ... and only get certain sounds , and always get an 'AL Error (atc):' in the terminal at startup. I get atc-chatter , and certain aircraft sounds like flaps , engine start ... I've tried openal-soft-1.8.466,

Re: [Flightgear-devel] New Sound system committed

2009-10-22 Thread syd adams
Glad you mentioned the sound type, I hadn't thought about it . Same result here , looped sounds dont play ... but the rest seem to , ( Ive only tested with my aircraft). On Thu, Oct 22, 2009 at 12:01 AM, Scott Hamilton scott.hamil...@popplanet.biz wrote: Yeah I'm in the same situation,

Re: [Flightgear-devel] New Sound system committed

2009-10-22 Thread Curtis Olson
On Thu, Oct 22, 2009 at 2:11 PM, syd adams wrote: Glad you mentioned the sound type, I hadn't thought about it . Same result here , looped sounds dont play ... but the rest seem to , ( Ive only tested with my aircraft). Just a little off topic, but congratulations Syd, you were the one

Re: [Flightgear-devel] New Sound system committed

2009-10-22 Thread Erik Hofman
It would be nice to know who of you who have problems run on 64-bit and if any one with these problems (sounds not playing) actually runs in 32-bit. Erik -- Come build with us! The BlackBerry(R) Developer Conference in

Re: [Flightgear-devel] New Sound system committed

2009-10-22 Thread Hans Janssen
Erik Hofman wrote: It would be nice to know who of you who have problems run on 64-bit and if any one with these problems (sounds not playing) actually runs in 32-bit. Erik Hello Erik, Sound is playing but it is off at 0.0 or full on from 0.01 to 1.0, changing the volume between 0.01

Re: [Flightgear-devel] New Sound system committed

2009-10-22 Thread syd adams
Yes ! Next goal is 200 :) On Thu, Oct 22, 2009 at 12:14 PM, Curtis Olson curtol...@gmail.com wrote: On Thu, Oct 22, 2009 at 2:11 PM, syd adams wrote: Glad you mentioned the sound type, I hadn't thought about it . Same result here , looped sounds dont play ... but the rest seem to , ( Ive

Re: [Flightgear-devel] New Sound system committed

2009-10-22 Thread Alasdair Campbell
On Thu, 2009-10-22 at 21:22 +0200, Erik Hofman wrote: It would be nice to know who of you who have problems run on 64-bit and if any one with these problems (sounds not playing) actually runs in 32-bit. Erik AS you speak, I am currently resurrecting my 32 bit Athlon machine to compare with

Re: [Flightgear-devel] New Sound system committed

2009-10-21 Thread Erik Hofman
Scott Hamilton wrote: On Tue, 2009-10-20 at 13:34 +0200, Erik Hofman wrote: I've committed a few fixes to SimGear and FlightGear again. Please report any progress (and if preferably any command line options if something fails). rpm -qa | grep openal libopenal0-soft-1.5.304-1.33

Re: [Flightgear-devel] New Sound system committed

2009-10-21 Thread Erik Hofman
Erik Hofman wrote: I've had a report that the latest *stable* version of OpenAL-Soft does work properly while a developers release behaved just like you describe. It would be nice if you would want to test the latest stable version. I do notice thought that in fly-by view engine sound can

Re: [Flightgear-devel] New Sound system committed

2009-10-21 Thread dave perry
Erik Hofman wrote: dave perry wrote: dave perry wrote: With an update this morning from cvs, I still only hear ATC and that with frequency distortion. Did I miss a required library change? I have openal-0.0.9-0.15.20060204cvs.fc9.i386 and freealut-1.1.0-6.fc9.i386 with fc10.

Re: [Flightgear-devel] New Sound system committed

2009-10-21 Thread Vivian Meazza
dave perry wrote Erik Hofman wrote: dave perry wrote: dave perry wrote: With an update this morning from cvs, I still only hear ATC and that with frequency distortion. Did I miss a required library change? I have openal-0.0.9-0.15.20060204cvs.fc9.i386 and

Re: [Flightgear-devel] New Sound system committed

2009-10-20 Thread Erik Hofman
dave perry wrote: dave perry wrote: With an update this morning from cvs, I still only hear ATC and that with frequency distortion. Did I miss a required library change? I have openal-0.0.9-0.15.20060204cvs.fc9.i386 and freealut-1.1.0-6.fc9.i386 with fc10. The above is on my

Re: [Flightgear-devel] New Sound system committed

2009-10-20 Thread Erik Hofman
I've committed a few fixes to SimGear and FlightGear again. Please report any progress (and if preferably any command line options if something fails). Erik -- Come build with us! The BlackBerry(R) Developer Conference

Re: [Flightgear-devel] New Sound system committed

2009-10-20 Thread leee
On Monday 19 Oct 2009, Erik Hofman wrote: [snip...] The odd part is, Doppler is working for the F-16 and Fokker-100 for example. It's as if OpenAL is limiting the total pitch to 2.0 which means that AL_PITCH and Doppler combined can not be higher than 2 times the normal playback frequency. Or

Re: [Flightgear-devel] New Sound system committed

2009-10-20 Thread Erik Hofman
leee wrote: This doesn't apply when the source is approaching though, and I wonder if the people writing the Open_AL code just thought the effect was symmetrical i.e. if the pitch halves for a retreating source then it should double for an approaching source. I thin k I know what the

Re: [Flightgear-devel] New Sound system committed

2009-10-20 Thread Durk Talsma
On Sunday 18 October 2009 11:04:24 am Erik Hofman wrote: Durk Talsma wrote: When I start the CitationX, I hear the engine and other sounds. For several other aircraft, including the Cessna 172,and the Lockheed1049h, I don't hear anything. I also get the pops when starting and closing

Re: [Flightgear-devel] New Sound system committed

2009-10-20 Thread Scott Hamilton
On Tue, 2009-10-20 at 13:34 +0200, Erik Hofman wrote: I've committed a few fixes to SimGear and FlightGear again. Please report any progress (and if preferably any command line options if something fails). rpm -qa | grep openal libopenal0-soft-1.5.304-1.33 openal-soft-1.5.304-1.33

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread Erik Hofman
Ok I think I've ironed out most of the bugs. I hope also the one that James reported but I don't hold my breath for it just yet. Erik -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread Erik Hofman
Nicolas Quijano wrote: Also, I see you replaced delete[], by delete in the sound sample destructor. Shouldn't we just be setting to NULL, and not delete, leaving it to the original creator of the data, since the original allocation is done somewhere else ? e.g _data never allocates, just

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread James Turner
On 19 Oct 2009, at 11:47, Erik Hofman wrote: All in all it's best to leave it to the SoundManager when to free up the data. In which case, the external API should make it clear to users that this is the policy. For example, require users to pass the buffer in as an auto-ptr or or

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread James Sleeman
On 19/10/09 23:42, Erik Hofman wrote: Ok I think I've ironed out most of the bugs. I hope also the one that James reported but I don't hold my breath for it just yet. So far so good, compiles and runs, and produces sound. Will try a short flight and see if any problems crop up.

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread Erik Hofman
Olaf Flebbe wrote: #elif defined(OPENALSDK) # include al.h # include alc.h # include AL/alut.h BTW this has also been committed like this. Erik -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread Erik Hofman
James Turner wrote: On 19 Oct 2009, at 11:47, Erik Hofman wrote: All in all it's best to leave it to the SoundManager when to free up the data. In which case, the external API should make it clear to users that this is the policy. For example, require users to pass the buffer in

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread James Sleeman
On 20/10/09 00:07, James Sleeman wrote: On 19/10/09 23:42, Erik Hofman wrote: Ok I think I've ironed out most of the bugs. I hope also the one that James reported but I don't hold my breath for it just yet. So far so good, compiles and runs, and produces sound. Will try a short

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread Erik Hofman
James Sleeman wrote: Seems to be working ok, a bit, umm, stuttery, sort of, particularly background wind, seemed to switch left-right a bit, but those problems might just be me, maybe even just an illusion. Yeah that's probably doe to improper position or orientation.Still working on that.

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread Geoff McLane
On Mon, 2009-10-19 at 13:13 +0200, Erik Hofman wrote: Olaf Flebbe wrote: #elif defined(OPENALSDK) # include al.h # include alc.h # include AL/alut.h BTW this has also been committed like this. Erik Hi Erik, This is fine under OPENALSDK - any macro switch in a storm ;=)) Thank you.

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread dave perry
James Sleeman wrote: On 20/10/09 00:07, James Sleeman wrote: On 19/10/09 23:42, Erik Hofman wrote: Ok I think I've ironed out most of the bugs. I hope also the one that James reported but I don't hold my breath for it just yet. So far so good, compiles and runs, and produces

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread Alasdair Campbell
On Tue, 2009-10-20 at 00:07 +1300, James Sleeman wrote: On 19/10/09 23:42, Erik Hofman wrote: Ok I think I've ironed out most of the bugs. I hope also the one that James reported but I don't hold my breath for it just yet. So far so good, compiles and runs, and produces sound. Will

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread Nicolas Quijano
AIPlane doesn't build here, a problem with conversion from a unsigned char* to the std::auto pointer thingy here : new SGSoundSample((unsigned char*)buf.c_str(), buf.length(), 8000 ); at line 204 Didn't get Alan's errors in SG 'though, even though I use the same compiler as him. Weird. On Mon,

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread Matias D'Ambrosio
On Sun, Oct 18, 2009 at 12:59 PM, Geoff McLane ubu...@geoffair.info wrote: Hi Vivian, using anything other than the latest build from Creative Labs? Well they could for example be using the openal-soft  http://sourceforge.net/projects/openal-soft/ which suggests it is version 1.2.??? And

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread Nicolas Quijano
Still no proper sound, and I think (can't make an informed judgement, no expert on threading) we have some serious timing issues on init and startup, and not just on windows (people have reported the same kind of stuff on Linux) Deadlock in MP, have to kill fgfs with today's build (with code

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread Alan Teeder
Did another CVS update after reading this post and get same result as Nicolas Alan _ From: Nicolas Quijano [mailto:nquij...@gmail.com] Sent: 19 October 2009 16:24 To: FlightGear developers discussions Subject: Re: [Flightgear-devel] New Sound system committed AIPlane doesn't

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread Nicolas Quijano
In Debug : Still crashing on rumble.wav, still on SGSoundSample::free data : delete _data.release() is the culprit, albeit no problems in generating the al buffer for rumble.wav, etc. That's when the sample does the test if it's a file or not, and then deletes it in SGSoundManager::requestBuffer.

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread dave perry
dave perry wrote: With an update this morning from cvs, I still only hear ATC and that with frequency distortion. Did I miss a required library change? I have openal-0.0.9-0.15.20060204cvs.fc9.i386 and freealut-1.1.0-6.fc9.i386 with fc10. The above is on my desktop (Athlon XP

Re: [Flightgear-devel] New Sound system committed

2009-10-18 Thread Erik Hofman
Durk Talsma wrote: Hi, On Saturday 17 October 2009 11:06:33 pm syd adams wrote: After an update and compile this morning , I hear atc-chatter , but nothing else. With the s76c , I hear sounds until I start the engine , then sounds cut out. Is the engine still running after that (can you

Re: [Flightgear-devel] New Sound system committed

2009-10-18 Thread Erik Hofman
daveluff wrote: I'm also unable to run FG with the new sound system, this time on Windows built with msvc 2005 express. In my case, dt to update_late is definitely non-zero though. Here's the stack trace: Thanks David, I think I've nailed this down now. It not, could you specify any

Re: [Flightgear-devel] New Sound system committed

2009-10-18 Thread James Sleeman
I still appear to have the same problem... compiled a couple of minutes ago, fgfs with no command line options, backtrace follows... ^C Program received signal SIGINT, Interrupt. [Switching to Thread 0x7fc28f3f3790 (LWP 7693)] 0x7fc28f104a94 in __lll_lock_wait () from /lib/libpthread.so.0

Re: [Flightgear-devel] New Sound system committed

2009-10-18 Thread Erik Hofman
James Sleeman wrote: I still appear to have the same problem... compiled a couple of minutes ago, fgfs with no command line options, backtrace follows... ../../../SimGear/simgear/sound/soundmgr_openal.cxx:430 #7 0x00989b2c in SGSampleGroup::update (this=0x318af70,

Re: [Flightgear-devel] New Sound system committed

2009-10-18 Thread Erik Hofman
Vivian Meazza wrote: Patched soundmgr_openal.cxx/hxx and sample_group.hxx with +#elif defined(_WIN32) +# include al.h or +#elif defined(_WIN32) +# include al.h +# include alc.h +# include AL/alut.h Olaf pointed out to me that this wasn't necessary for more than 5 yearss and indeed

Re: [Flightgear-devel] New Sound system committed

2009-10-18 Thread Erik Hofman
James Sleeman wrote: I still appear to have the same problem... compiled a couple of minutes ago, fgfs with no command line options, backtrace follows... I think I've found the problem which might or might not be a bug in the OpenAL implementation. It is recommended to place all updates to

Re: [Flightgear-devel] New Sound system committed

2009-10-18 Thread James Sleeman
On 19/10/09 02:48, Erik Hofman wrote: I think I've found the problem which might or might not be a bug in the OpenAL implementation. It is recommended to place all updates to the Maybe not, still locking up, I note there is an AL Error (atc): in the output there now which wasn't before (I

Re: [Flightgear-devel] New Sound system committed

2009-10-18 Thread Geoff McLane
On Sun, 2009-10-18 at 15:07 +0200, Erik Hofman wrote: Vivian Meazza wrote: Patched soundmgr_openal.cxx/hxx and sample_group.hxx with +#elif defined(_WIN32) +# include al.h or +#elif defined(_WIN32) +# include al.h +# include alc.h +# include AL/alut.h Olaf pointed out

Re: [Flightgear-devel] New Sound system committed

2009-10-18 Thread Vivian Meazza
Geoff McLane On Sun, 2009-10-18 at 15:07 +0200, Erik Hofman wrote: Vivian Meazza wrote: Patched soundmgr_openal.cxx/hxx and sample_group.hxx with +#elif defined(_WIN32) +# include al.h or +#elif defined(_WIN32) +# include al.h +# include alc.h +# include

Re: [Flightgear-devel] New Sound system committed

2009-10-18 Thread Geoff McLane
Hi Vivian, using anything other than the latest build from Creative Labs? Well they could for example be using the openal-soft http://sourceforge.net/projects/openal-soft/ which suggests it is version 1.2.??? And has a CVS download, and uses the 'AL' sub-directory! But it seems the last

  1   2   >