get rid of RageSoundStream
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
#include "TransitionStarWipe.h"
|
||||
#include "MenuElements.h"
|
||||
#include "TipDisplay.h"
|
||||
#include "RageSoundStream.h"
|
||||
#include "MusicBannerWheel.h"
|
||||
#include "MenuElements.h"
|
||||
#include "FootMeter.h"
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
#include "Song.h"
|
||||
#include "NoteData.h"
|
||||
#include "MsdFile.h"
|
||||
#include "RageSoundStream.h"
|
||||
#include "RageSound.h"
|
||||
#include "RageException.h"
|
||||
#include "SongCacheIndex.h"
|
||||
@@ -383,13 +382,9 @@ void Song::TidyUpData()
|
||||
/* This must be done before radar calculation. */
|
||||
if( HasMusic() )
|
||||
{
|
||||
#if 1
|
||||
RageSoundStream sound;
|
||||
sound.Load( GetMusicPath() );
|
||||
#else
|
||||
RageSound sound;
|
||||
sound.Load( GetMusicPath(), false ); /* don't pre-cache */
|
||||
#endif
|
||||
|
||||
m_fMusicLengthSeconds = sound.GetLengthSeconds();
|
||||
/* XXX: if(m_fMusicLengthSeconds == -1), warn and throw out the song */
|
||||
if(m_fMusicLengthSeconds == 0)
|
||||
|
||||
@@ -266,14 +266,6 @@ SOURCE=.\RageSoundSample.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\RageSoundStream.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\RageSoundStream.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\RageTexture.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
@@ -1185,12 +1185,6 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\
|
||||
<File
|
||||
RelativePath=".\RageSoundSample.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\RageSoundStream.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\RageSoundStream.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\RageTexture.cpp">
|
||||
</File>
|
||||
|
||||
Reference in New Issue
Block a user