load a RageSoundReader_PitchChange

This commit is contained in:
Glenn Maynard
2006-11-30 07:34:47 +00:00
parent 90b56c3705
commit 3003758585
+5 -1
View File
@@ -20,6 +20,7 @@
#include "GameState.h"
#include "song.h"
#include "RageSoundReader_Chain.h"
#include "RageSoundReader_PitchChange.h"
#include "RageSoundManager.h"
#include "RageLog.h"
@@ -123,7 +124,10 @@ void AutoKeysounds::FinishLoading()
pChain->Finish();
m_sSound.LoadSoundReader( pChain );
/* Load a pitch shifter for the whole sound. */
RageSoundReader_PitchChange *pRate = new RageSoundReader_PitchChange( pChain );
m_sSound.LoadSoundReader( pRate );
}
void AutoKeysounds::Update( float fDelta )