s/RageDriverSound/RageSoundBase/
This commit is contained in:
@@ -98,7 +98,7 @@ RageSound::~RageSound()
|
|||||||
}
|
}
|
||||||
|
|
||||||
RageSound::RageSound(const RageSound &cpy):
|
RageSound::RageSound(const RageSound &cpy):
|
||||||
RageDriverSound( cpy )
|
RageSoundBase( cpy )
|
||||||
{
|
{
|
||||||
ASSERT(SOUNDMAN);
|
ASSERT(SOUNDMAN);
|
||||||
LockMut(SOUNDMAN->lock);
|
LockMut(SOUNDMAN->lock);
|
||||||
|
|||||||
@@ -8,10 +8,10 @@
|
|||||||
class SoundReader;
|
class SoundReader;
|
||||||
|
|
||||||
/* Driver interface for sounds: this is what drivers see. */
|
/* Driver interface for sounds: this is what drivers see. */
|
||||||
class RageDriverSound
|
class RageSoundBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual ~RageDriverSound() { }
|
virtual ~RageSoundBase() { }
|
||||||
virtual void StopPlaying() = 0;
|
virtual void StopPlaying() = 0;
|
||||||
virtual int GetPCM( char *buffer, int size, int sampleno ) = 0;
|
virtual int GetPCM( char *buffer, int size, int sampleno ) = 0;
|
||||||
virtual int GetSampleRate() const = 0;
|
virtual int GetSampleRate() const = 0;
|
||||||
@@ -19,7 +19,7 @@ public:
|
|||||||
virtual CString GetLoadedFilePath() const = 0;
|
virtual CString GetLoadedFilePath() const = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
class RageSound: public RageDriverSound
|
class RageSound: public RageSoundBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/* M_STOP (default) stops the sound after m_LengthSamples have been played.
|
/* M_STOP (default) stops the sound after m_LengthSamples have been played.
|
||||||
|
|||||||
Reference in New Issue
Block a user