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 few error messages like these:
AL Error (sound manager): Invalid Operation at release buffer
AL Error (sound manager): Invalid Operation at release buffer

It's working fine when I start at some remote location which doesn't 
have AI traffic, i.e. ENSD. I commented out the new code in 
AIBase::update - and then sound is back to normal. However, the error 
messages (see above) are still there - so these could be unrelated.

Anyone else seeing this issue? Any ideas?

Another thing I noticed: The sound manager is the last remaining 
subsystem that is created and initialized at run-time  (thanks to James 
for structuring all the other systems so far!). The sound manager is 
still initialized in the main loop, and it's done _after_ the scenery is 
fully loaded (about when the splash screen is withdrawn).

However, at this time the first AI aircraft may already be loaded, 
initialized, updated... Hence, nothing guarantees that AI aircraft won't 
(try to) use the sound subsystem even _before_ this is properly 
initialized. Maybe this is already the reason for the issues I'm seeing. 
Maybe it'd be a good idea to make the sound manager "a proper subsystem" 
now, to make sure it's created and initialized with all the other 
subsystems - so even _before_ the mainloop is run for the very first 
time. Futhermore, since AI+MP traffic may now depend on sound, the sound 
manager should probably be initialized before the AI, traffic and MP 
subsystems now.

I'm sure we can resolve these issues for the 2.6.0 release (well, we 
have to :) ), but it'd probably still be a good idea to also add a 
switch, so that the new AI sound effects can be disabled - for example 
on slower systems.

cheers,
Thorsten

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to