From f2eb0043de38cfb80b5eccc39703e18a2a4429e3 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 23 Dec 2006 01:16:37 +0000 Subject: [PATCH] remove RageSound::IsStreamingFromDisk --- stepmania/src/RageSound.cpp | 11 ----------- stepmania/src/RageSound.h | 2 -- 2 files changed, 13 deletions(-) diff --git a/stepmania/src/RageSound.cpp b/stepmania/src/RageSound.cpp index 6d542ff3f6..0ed1b91bb0 100644 --- a/stepmania/src/RageSound.cpp +++ b/stepmania/src/RageSound.cpp @@ -571,17 +571,6 @@ int RageSound::GetSampleRate() const return m_pSource->GetSampleRate(); } -bool RageSound::IsStreamingFromDisk() const -{ - if( m_pSource == NULL ) - { - LOG->Warn( "RageSound::IsStreamingFromDisk: sound not loaded" ); - return false; - } - - return m_pSource->IsStreamingFromDisk(); -} - bool RageSound::SetPositionFrames( int iFrames ) { LockMut( m_Mutex ); diff --git a/stepmania/src/RageSound.h b/stepmania/src/RageSound.h index d59046f760..5e154b0b63 100644 --- a/stepmania/src/RageSound.h +++ b/stepmania/src/RageSound.h @@ -22,7 +22,6 @@ public: virtual float GetAbsoluteVolume() const = 0; virtual int GetID() const = 0; virtual RString GetLoadedFilePath() const = 0; - virtual bool IsStreamingFromDisk() const = 0; }; /* These are parameters to play a sound. These are normally changed before playing begins, @@ -129,7 +128,6 @@ public: float GetLengthSeconds(); float GetPositionSeconds( bool *approximate=NULL, RageTimer *Timestamp=NULL ) const; int GetSampleRate() const; - bool IsStreamingFromDisk() const; bool SetPositionSeconds( float fSeconds ); RString GetLoadedFilePath() const { return m_sFilePath; } bool IsPlaying() const { return m_bPlaying; }