From: Erik Hofman Date: Sat, 8 May 2010 09:19:01 +0000 (+0200) Subject: Before X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b6ef5a0a3d60ea4e3dad38f44c791f30c238d601;p=simgear.git Before --- diff --git a/simgear/sound/sample_group.cxx b/simgear/sound/sample_group.cxx index e2a2b2c7..4f64768c 100644 --- a/simgear/sound/sample_group.cxx +++ b/simgear/sound/sample_group.cxx @@ -147,7 +147,7 @@ void SGSampleGroup::update( double dt ) { ALboolean looping = sample->is_looping() ? AL_TRUE : AL_FALSE; alSourcei( source, AL_LOOPING, looping ); alSourcef( source, AL_ROLLOFF_FACTOR, 0.3 ); - alSourcei( source, AL_SOURCE_RELATIVE, AL_FALSE ); + alSourcei( source, AL_SOURCE_RELATIVE, AL_TRUE ); alSourcePlay( source ); testForALError("sample play"); } else {