diff --git a/stepmania/src/arch/Sound/RageSoundDriver_Null.h b/stepmania/src/arch/Sound/RageSoundDriver_Null.h index 38aeb9a700..8a1cc7e032 100644 --- a/stepmania/src/arch/Sound/RageSoundDriver_Null.h +++ b/stepmania/src/arch/Sound/RageSoundDriver_Null.h @@ -18,7 +18,7 @@ class RageSound_Null: public RageSoundDriver { -public: +private: struct sound { RageSound *snd; bool stopping; @@ -30,21 +30,21 @@ public: vector sounds; bool shutdown; + SDL_Thread *MixerThreadPtr; static int MixerThread_start(void *p); void MixerThread(); - SDL_Thread *MixerThreadPtr; - - bool GetData(); +protected: /* virtuals: */ - void StartMixing(RageSound *snd); - void StopMixing(RageSound *snd); - int GetPosition(const RageSound *snd) const; - float GetPlayLatency() const; - - void Update(float delta); + virtual void StartMixing(RageSound *snd); + virtual void StopMixing(RageSound *snd); + virtual int GetPosition(const RageSound *snd) const; + virtual float GetPlayLatency() const; + virtual void Update(float delta); + virtual bool GetData(); +public: RageSound_Null(); ~RageSound_Null(); };