From b6ef5a0a3d60ea4e3dad38f44c791f30c238d601 Mon Sep 17 00:00:00 2001 From: Erik Hofman Date: Sat, 8 May 2010 11:19:01 +0200 Subject: [PATCH] Before --- simgear/sound/sample_group.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.39.5