remove RageSound::IsStreamingFromDisk
This commit is contained in:
@@ -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 );
|
||||
|
||||
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user