s/RageDriverSound/RageSoundBase/

This commit is contained in:
Glenn Maynard
2004-01-15 02:31:09 +00:00
parent bdafe9ebe1
commit 3633d424d7
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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);
+3 -3
View File
@@ -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.