Re: [Flightgear-devel] Sound support broken by AI traffic

2011-12-13 Thread Erik Hofman
On Tue, 2011-12-13 at 11:12 +0100, Erik Hofman wrote: > Please let me know if there are still problems. I did already found one (a minor one): No need to start all single-shot sounds again when getting in-range.. Erik

Re: [Flightgear-devel] Sound support broken by AI traffic

2011-12-13 Thread Erik Hofman
On Tue, 2011-12-13 at 10:53 +0100, Erik Hofman wrote: > On Tue, 2011-12-13 at 09:17 +, Vivian Meazza wrote: > > > As of this mornings Git with MSVC10 build and WinXP I'm getting this > > continuously repeated: > > > > Sound manager: No more free sources available! > > I'm working on it. It

Re: [Flightgear-devel] Sound support broken by AI traffic

2011-12-13 Thread Erik Hofman
On Tue, 2011-12-13 at 09:17 +, Vivian Meazza wrote: > As of this mornings Git with MSVC10 build and WinXP I'm getting this > continuously repeated: > > Sound manager: No more free sources available! I'm working on it. It turned out testing with the UFO alone was not sufficient. Erik

Re: [Flightgear-devel] Sound support broken by AI traffic

2011-12-13 Thread Vivian Meazza
Erik > On Mon, 2011-12-12 at 20:22 +0100, ThorstenB wrote: > > Hi Erik, > > > > Am 12.12.2011 13:31, schrieb Erik Hofman: > > > I've implemented a mechanism to free OpenAL sources that are farther > > > away than max-distance (3km for the current AI models). This might > solve > > > your problem

Re: [Flightgear-devel] Sound support broken by AI traffic

2011-12-13 Thread Erik Hofman
On Mon, 2011-12-12 at 22:58 +0100, ThorstenB wrote: > Btw, is there a way to influence the audio level of AI sounds? Would be > nice if sounds could be muffled in inside views (i.e. cockpit/inside > view), while they should have normal/higher volume in outside views (and > there should be no dif

Re: [Flightgear-devel] Sound support broken by AI traffic

2011-12-12 Thread ThorstenB
On 12.12.2011 22:41, Erik Hofman wrote: > Ok the only thing the code you proposed to remove does (or should do) > is active the sample again when in-range again (distance smaller than > max_distance). I've had another report that I suspect has something > to do with the same section. If some one wa

Re: [Flightgear-devel] Sound support broken by AI traffic

2011-12-12 Thread Erik Hofman
On Mon, 12 Dec 2011 21:59:35 +0100 ThorstenB wrote: > Am 12.12.2011 21:22, schrieb Erik Hofman: > > That's the problem of the AIModel code that models hardly any properties > > suitable for sound playback. > > Not in this case. I had experimented with the AI balloons. I have pushed > this to fg

Re: [Flightgear-devel] Sound support broken by AI traffic

2011-12-12 Thread ThorstenB
Am 12.12.2011 21:22, schrieb Erik Hofman: > That's the problem of the AIModel code that models hardly any properties > suitable for sound playback. Not in this case. I had experimented with the AI balloons. I have pushed this to fgdata now - you can use these for testing the issue I reported. Ena

Re: [Flightgear-devel] Sound support broken by AI traffic

2011-12-12 Thread Erik Hofman
On Mon, 2011-12-12 at 20:22 +0100, ThorstenB wrote: > Hi Erik, > > Am 12.12.2011 13:31, schrieb Erik Hofman: > > I've implemented a mechanism to free OpenAL sources that are farther > > away than max-distance (3km for the current AI models). This might solve > > your problems, although it is not a

Re: [Flightgear-devel] Sound support broken by AI traffic

2011-12-12 Thread ThorstenB
Hi Erik, Am 12.12.2011 13:31, schrieb Erik Hofman: I've implemented a mechanism to free OpenAL sources that are farther away than max-distance (3km for the current AI models). This might solve your problems, although it is not a one size fits all solution. I'm still getting many error messages

Re: [Flightgear-devel] Sound support broken by AI traffic

2011-12-12 Thread Erik Hofman
On Sat, 2011-12-03 at 09:50 +, James Turner wrote: > I'm seeing something very similar on Mac at EHAM, except I get messages > continuously during FGFS operation about 'no more sources', which I assumed > was due to every AI aircraft at EHAM requesting a source :) I've implemented a mechani

Re: [Flightgear-devel] Sound support broken by AI traffic

2011-12-04 Thread Arnt Karlsen
On Sat, 03 Dec 2011 15:37:05 +0100, Erik wrote in message <1322923025.13010.7.camel@Raptor>: > On Sat, 2011-12-03 at 15:31 +0100, Arnt Karlsen wrote: > > On Sat, 03 Dec 2011 13:28:56 +0100, Erik wrote in message > > > You select one of the devices like this: > > > --sound-device="ALSA Software o

Re: [Flightgear-devel] Sound support broken by AI traffic

2011-12-03 Thread Geoff McLane
On Sat, 2011-12-03 at 15:35 +0100, Erik Hofman wrote: > I've sorted out where things go wrong (last update in git, which > basically disables aimodel sounds again). But I have to go and will not > be back until tomorrow morning so as far as I can tell the sound is in a > working state again. Hi Er

Re: [Flightgear-devel] Sound support broken by AI traffic

2011-12-03 Thread Erik Hofman
On Sat, 2011-12-03 at 15:31 +0100, Arnt Karlsen wrote: > On Sat, 03 Dec 2011 13:28:56 +0100, Erik wrote in message > > You select one of the devices like this: > > --sound-device="ALSA Software on HDA Intel [STAC92xx Digital] > > (hw:0,1)" > > ..ok, this is the _only_ acceptable --sound-device sy

Re: [Flightgear-devel] Sound support broken by AI traffic

2011-12-03 Thread Erik Hofman
I've sorted out where things go wrong (last update in git, which basically disables aimodel sounds again). But I have to go and will not be back until tomorrow morning so as far as I can tell the sound is in a working state again. If someone feels brave, please go ahead and take a look if you can

Re: [Flightgear-devel] Sound support broken by AI traffic

2011-12-03 Thread Arnt Karlsen
On Sat, 03 Dec 2011 13:28:56 +0100, Erik wrote in message <1322915336.5715.1.camel@Raptor>: > On Sat, 2011-12-03 at 13:13 +0100, Arnt Karlsen wrote: > > ..how exactly are we supposed to explicitly pick > > one of these with the --sound-device option? > > --sound-device="0. "PulseAudio Softw

Re: [Flightgear-devel] Sound support broken by AI traffic

2011-12-03 Thread Erik Hofman
On Sat, 2011-12-03 at 11:21 +0100, Erik Hofman wrote: > Alright, this is confirmed with OpenAL-Soft but it works with my own > implementation. This gives me a hunch though. I have it sort of working now (using the code in git) but this requires the master sound switch to be disabled and enabled a

Re: [Flightgear-devel] Sound support broken by AI traffic

2011-12-03 Thread Erik Hofman
On Sat, 2011-12-03 at 10:30 +, Alasdair Campbell wrote: > With default airport KSFO, I am unable to get past the splash screen. > Starting at my local EGPF, FG starts OK, but hangs with log(info) > showing: > > " > Traffic manager: Creating AIModel from:EGPF-EGKK.xml > Route from EGPF to EGKK

Re: [Flightgear-devel] Sound support broken by AI traffic

2011-12-03 Thread Erik Hofman
On Sat, 2011-12-03 at 13:13 +0100, Arnt Karlsen wrote: > ..how exactly are we supposed to explicitly pick > one of these with the --sound-device option? > --sound-device="0. "PulseAudio Software" Explicitly > specify the audio device to use"? Yes, I have > tried quite a few

Re: [Flightgear-devel] Sound support broken by AI traffic

2011-12-03 Thread Arnt Karlsen
On Sat, 03 Dec 2011 10:47:45 +0100, Geoff wrote in message <1322905665.1833.16.camel@DELL02>: > /media/Disk2/FG/fg19$ ./run_fgfs.sh --show-sound-devices > run_fgfs.sh: Running: ./fgfs --fg-root=/media/Disk2/FG/fg18/fgdata > --show-sound-devices > OpenAL Soft provided by OpenAL Community > > No.

Re: [Flightgear-devel] Sound support broken by AI traffic

2011-12-03 Thread Alasdair Campbell
On Fri, 2011-12-02 at 20:44 +0100, ThorstenB wrote: > Hi Erik et al, > > sound support is broken here (GIT of today). When I start with the UFO > at an airport with AI traffic, e.g. KSFO, then I hear a roar for a few > seconds during start-up - but then there is silence for the rest of the > si

Re: [Flightgear-devel] Sound support broken by AI traffic

2011-12-03 Thread Erik Hofman
On Fri, 2011-12-02 at 20:44 +0100, ThorstenB wrote: > Hi Erik et al, > > sound support is broken here (GIT of today). When I start with the UFO > at an airport with AI traffic, e.g. KSFO, then I hear a roar for a few > seconds during start-up - but then there is silence for the rest of the > si

Re: [Flightgear-devel] Sound support broken by AI traffic

2011-12-03 Thread Erik Hofman
On Sat, 2011-12-03 at 09:50 +, James Turner wrote: > I'm seeing something very similar on Mac at EHAM, except I get messages > continuously during FGFS operation about 'no more sources', which I assumed > was due to every AI aircraft at EHAM requesting a source :) This seems like a hardware

Re: [Flightgear-devel] Sound support broken by AI traffic

2011-12-03 Thread James Turner
On 2 Dec 2011, at 21:44, Erik Hofman wrote: >> sound support is broken here (GIT of today). When I start with the UFO >> at an airport with AI traffic, e.g. KSFO, then I hear a roar for a few >> seconds during start-up - but then there is silence for the rest of the >> simulation. No sound whe

Re: [Flightgear-devel] Sound support broken by AI traffic

2011-12-03 Thread Geoff McLane
On Fri, 2011-12-02 at 22:44 +0100, Erik Hofman wrote: > On Fri, 02 Dec 2011 20:44:06 +0100 > ThorstenB wrote: PS: Just remembered the other 'option' ;=)) /media/Disk2/FG/fg19$ ./run_fgfs.sh --show-sound-devices run_fgfs.sh: Running: ./fgfs --fg-root=/media/Disk2/FG/fg18/fgdata --show-sound-devic

Re: [Flightgear-devel] Sound support broken by AI traffic

2011-12-03 Thread Geoff McLane
On Fri, 2011-12-02 at 22:44 +0100, Erik Hofman wrote: > On Fri, 02 Dec 2011 20:44:06 +0100 > ThorstenB wrote: > Hi Eric et al, With sg/fg git of yesterday also no sound here at KSFO - well one 'click' sound at beginning and one at end - on exit says deleting some 58 buffers... but no other ob

Re: [Flightgear-devel] Sound support broken by AI traffic

2011-12-02 Thread Erik Hofman
On Fri, 02 Dec 2011 20:44:06 +0100 ThorstenB wrote: > Hi Erik et al, > > sound support is broken here (GIT of today). When I start with the UFO > at an airport with AI traffic, e.g. KSFO, then I hear a roar for a few > seconds during start-up - but then there is silence for the rest of the >

Re: [Flightgear-devel] Sound support broken by AI traffic

2011-12-02 Thread ThorstenB
Am 02.12.2011 20:44, schrieb ThorstenB: > sound support is broken here (GIT of today). When I start with the UFO Sorry, only checking the bug tracker now (yes, should have done that first :) ). Someone reported a related issue, different effect though: http://code.google.com/p/flightgear-bugs/iss

[Flightgear-devel] Sound support broken by AI traffic

2011-12-02 Thread ThorstenB
Hi Erik et al, sound support is broken here (GIT of today). When I start with the UFO at an airport with AI traffic, e.g. KSFO, then I hear a roar for a few seconds during start-up - but then there is silence for the rest of the simulation. No sound when the UFO moves. On shutdown, I do get a