From ec59bdc105c1bfbb4d082b0ae5519362a57302a3 Mon Sep 17 00:00:00 2001 From: pouillot Date: Tue, 28 Feb 2012 22:01:36 +0000 Subject: [PATCH] Re #631 Reverted r4547 (Load skid sound only once) because produces weird skid sound under some configurations / circumstances git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@4549 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: bc69f4fb09c3ef2c50d419e8e342fa17fcd28dd3 Former-commit-id: ac08a6181351c25fb3078a23706f4c32ca100d2d --- src/modules/graphic/ssggraph/SoundInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/graphic/ssggraph/SoundInterface.cpp b/src/modules/graphic/ssggraph/SoundInterface.cpp index c6512902..0b0e1a12 100644 --- a/src/modules/graphic/ssggraph/SoundInterface.cpp +++ b/src/modules/graphic/ssggraph/SoundInterface.cpp @@ -106,8 +106,8 @@ void SoundInterface::initSharedSourcePool() void SoundInterface::setSkidSound (const char* sound_name) { - Sound* sound = addSample (sound_name, ACTIVE_VOLUME|ACTIVE_PITCH, true); for (int i=0; i<4; i++) { + Sound* sound = addSample (sound_name, ACTIVE_VOLUME|ACTIVE_PITCH, true); skid_sound[i] = sound; }