]> git.mxchange.org Git - simgear.git/blobdiff - simgear/sound/sample_group.cxx
Fixes for headless mode.
[simgear.git] / simgear / sound / sample_group.cxx
index 26da0f937f8bce37e787d967025474150ae8d642..1610d088fbfabb3871d290ad5670866ee36e81fa 100644 (file)
@@ -273,7 +273,6 @@ SGSampleGroup::stop ()
             ALint source = sample->get_source();
             if ( sample->is_playing() ) {
                 alSourceStop( source );
-                alSourcei( source, AL_BUFFER, 0 );
             }
             _smgr->release_source( source );
             sample->no_valid_source();