]> git.mxchange.org Git - simgear.git/commitdiff
At some points Flightgear stops and restarts the entire sample group containing the...
authorErik Hofman <erik@ehofman.com>
Tue, 29 Jun 2010 06:28:38 +0000 (08:28 +0200)
committerErik Hofman <erik@ehofman.com>
Tue, 29 Jun 2010 06:28:38 +0000 (08:28 +0200)
simgear/sound/sample_group.cxx

index bc7605ac4966667c72303e1ca014ce82fd613c6f..a4fbfc49113f166046615109dfacca9934656af3 100644 (file)
@@ -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();