remove RageSound::IsStreamingFromDisk

This commit is contained in:
Glenn Maynard
2006-12-23 01:16:37 +00:00
parent c415651f58
commit f2eb0043de
2 changed files with 0 additions and 13 deletions
-11
View File
@@ -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 );
-2
View File
@@ -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; }