use RageSoundReader_PostBuffering

This commit is contained in:
Glenn Maynard
2007-01-19 09:18:53 +00:00
parent c57497c7ee
commit 29edd8be6c
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -21,6 +21,7 @@
#include "song.h"
#include "RageSoundReader_Chain.h"
#include "RageSoundReader_PitchChange.h"
#include "RageSoundReader_PostBuffering.h"
#include "RageSoundManager.h"
#include "RageLog.h"
@@ -135,6 +136,7 @@ void AutoKeysounds::FinishLoading()
/* Load a pitch shifter for the whole sound. */
pReader = new RageSoundReader_PitchChange( pReader );
pReader = new RageSoundReader_PostBuffering( pReader );
m_sSound.LoadSoundReader( pReader );
}
+2
View File
@@ -31,6 +31,7 @@
#include "RageSoundReader_Extend.h"
#include "RageSoundReader_Pan.h"
#include "RageSoundReader_PitchChange.h"
#include "RageSoundReader_PostBuffering.h"
#include "RageSoundReader_Preload.h"
#include "RageSoundReader_Resample_Good.h"
#include "RageSoundReader_FileReader.h"
@@ -222,6 +223,7 @@ bool RageSound::Load( RString sSoundFilePath, bool bPrecache, const RageSoundLoa
m_pSource = new RageSoundReader_Extend( m_pSource );
if( !bPrecache )
m_pSource = new RageSoundReader_ThreadedBuffer( m_pSource );
m_pSource = new RageSoundReader_PostBuffering( m_pSource );
if( pParams->m_bSupportRateChanging )
{