remove RageSound::IsStreamingFromDisk
This commit is contained in:
@@ -571,17 +571,6 @@ int RageSound::GetSampleRate() const
|
|||||||
return m_pSource->GetSampleRate();
|
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 )
|
bool RageSound::SetPositionFrames( int iFrames )
|
||||||
{
|
{
|
||||||
LockMut( m_Mutex );
|
LockMut( m_Mutex );
|
||||||
|
|||||||
@@ -22,7 +22,6 @@ public:
|
|||||||
virtual float GetAbsoluteVolume() const = 0;
|
virtual float GetAbsoluteVolume() const = 0;
|
||||||
virtual int GetID() const = 0;
|
virtual int GetID() const = 0;
|
||||||
virtual RString GetLoadedFilePath() 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,
|
/* These are parameters to play a sound. These are normally changed before playing begins,
|
||||||
@@ -129,7 +128,6 @@ public:
|
|||||||
float GetLengthSeconds();
|
float GetLengthSeconds();
|
||||||
float GetPositionSeconds( bool *approximate=NULL, RageTimer *Timestamp=NULL ) const;
|
float GetPositionSeconds( bool *approximate=NULL, RageTimer *Timestamp=NULL ) const;
|
||||||
int GetSampleRate() const;
|
int GetSampleRate() const;
|
||||||
bool IsStreamingFromDisk() const;
|
|
||||||
bool SetPositionSeconds( float fSeconds );
|
bool SetPositionSeconds( float fSeconds );
|
||||||
RString GetLoadedFilePath() const { return m_sFilePath; }
|
RString GetLoadedFilePath() const { return m_sFilePath; }
|
||||||
bool IsPlaying() const { return m_bPlaying; }
|
bool IsPlaying() const { return m_bPlaying; }
|
||||||
|
|||||||
Reference in New Issue
Block a user