At some points Flightgear stops and restarts the entire sample group containing the looping background/engine noise. But it does not restart the individual (looping) samples in the group. So now the background noise dies when resetting the sim or changing aircraft location.
This commit is contained in:
@@ -260,7 +260,6 @@ SGSampleGroup::stop ()
|
||||
if ( sample->is_playing() ) {
|
||||
alSourceStop( source );
|
||||
alSourcei( source, AL_BUFFER, 0 );
|
||||
sample->stop();
|
||||
}
|
||||
_smgr->release_source( source );
|
||||
sample->no_valid_source();
|
||||
|
||||
Reference in New Issue
Block a user