diff options
| author | Lioncash <mathew1800@gmail.com> | 2015-05-24 17:29:12 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2015-05-24 17:29:12 -0400 |
| commit | b4ee315a72f48d85094308d58058e5cefe64e809 (patch) | |
| tree | 99000460150ffc3745bd67f7a744b57575adb27d /Source/Core/AudioCommon/CoreAudioSoundStream.h | |
| parent | 5213d85118ea11f447f17528e523e2860a602c45 (diff) | |
| parent | 6b30c9710c834ade00071916d116491883926343 (diff) | |
Merge pull request #2447 from lioncash/virtual
AudioCommon: Add override specifiers to SoundStream subclasses.
Diffstat (limited to 'Source/Core/AudioCommon/CoreAudioSoundStream.h')
| -rw-r--r-- | Source/Core/AudioCommon/CoreAudioSoundStream.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/Source/Core/AudioCommon/CoreAudioSoundStream.h b/Source/Core/AudioCommon/CoreAudioSoundStream.h index cbf14e46fb..8a7aa4fb9b 100644 --- a/Source/Core/AudioCommon/CoreAudioSoundStream.h +++ b/Source/Core/AudioCommon/CoreAudioSoundStream.h @@ -14,18 +14,17 @@ class CoreAudioSound final : public SoundStream { #ifdef __APPLE__ public: - virtual bool Start(); - virtual void SetVolume(int volume); - virtual void SoundLoop(); - virtual void Stop(); + bool Start() override; + void SetVolume(int volume) override; + void SoundLoop() override; + void Stop() override; + void Update() override; static bool isValid() { return true; } - virtual void Update(); - private: AudioUnit audioUnit; int m_volume; |
