From 5e5ab61d0ccd8f0f6436071beb55f863ae41a3b1 Mon Sep 17 00:00:00 2001 From: lioncash Date: Tue, 18 Mar 2014 10:37:45 -0400 Subject: [PATCH] Mark the audio streams as final. These aren't intended to be continually extended. --- Source/Core/AudioCommon/AOSoundStream.h | 2 +- Source/Core/AudioCommon/AlsaSoundStream.h | 2 +- Source/Core/AudioCommon/CoreAudioSoundStream.h | 2 +- Source/Core/AudioCommon/DSoundStream.h | 2 +- Source/Core/AudioCommon/NullSoundStream.h | 2 +- Source/Core/AudioCommon/OpenALStream.h | 2 +- Source/Core/AudioCommon/OpenSLESStream.h | 2 +- Source/Core/AudioCommon/PulseAudioStream.h | 2 +- Source/Core/AudioCommon/XAudio2Stream.h | 2 +- Source/Core/AudioCommon/XAudio2_7Stream.h | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Source/Core/AudioCommon/AOSoundStream.h b/Source/Core/AudioCommon/AOSoundStream.h index efa2357327..3a18f8ebc4 100644 --- a/Source/Core/AudioCommon/AOSoundStream.h +++ b/Source/Core/AudioCommon/AOSoundStream.h @@ -11,7 +11,7 @@ #include #endif -class AOSound : public SoundStream +class AOSound final : public SoundStream { #if defined(HAVE_AO) && HAVE_AO std::thread thread; diff --git a/Source/Core/AudioCommon/AlsaSoundStream.h b/Source/Core/AudioCommon/AlsaSoundStream.h index 04672b1e63..eaf4228a0f 100644 --- a/Source/Core/AudioCommon/AlsaSoundStream.h +++ b/Source/Core/AudioCommon/AlsaSoundStream.h @@ -12,7 +12,7 @@ #include "Common/Common.h" #include "Common/Thread.h" -class AlsaSound : public SoundStream +class AlsaSound final : public SoundStream { #if defined(HAVE_ALSA) && HAVE_ALSA public: diff --git a/Source/Core/AudioCommon/CoreAudioSoundStream.h b/Source/Core/AudioCommon/CoreAudioSoundStream.h index 4df7c6000e..a0208e8242 100644 --- a/Source/Core/AudioCommon/CoreAudioSoundStream.h +++ b/Source/Core/AudioCommon/CoreAudioSoundStream.h @@ -10,7 +10,7 @@ #include "AudioCommon/SoundStream.h" -class CoreAudioSound : public SoundStream +class CoreAudioSound final : public SoundStream { #ifdef __APPLE__ public: diff --git a/Source/Core/AudioCommon/DSoundStream.h b/Source/Core/AudioCommon/DSoundStream.h index b79cb0d1eb..b70a7b4e43 100644 --- a/Source/Core/AudioCommon/DSoundStream.h +++ b/Source/Core/AudioCommon/DSoundStream.h @@ -15,7 +15,7 @@ #define BUFSIZE (1024 * 8 * 4) #endif -class DSound : public SoundStream +class DSound final : public SoundStream { #ifdef _WIN32 std::thread thread; diff --git a/Source/Core/AudioCommon/NullSoundStream.h b/Source/Core/AudioCommon/NullSoundStream.h index f7e6d0e86a..21908f6a00 100644 --- a/Source/Core/AudioCommon/NullSoundStream.h +++ b/Source/Core/AudioCommon/NullSoundStream.h @@ -9,7 +9,7 @@ #define BUF_SIZE (48000 * 4 / 32) -class NullSound : public SoundStream +class NullSound final : public SoundStream { // playback position short realtimeBuffer[BUF_SIZE / sizeof(short)]; diff --git a/Source/Core/AudioCommon/OpenALStream.h b/Source/Core/AudioCommon/OpenALStream.h index fa394d70c0..578d7e195a 100644 --- a/Source/Core/AudioCommon/OpenALStream.h +++ b/Source/Core/AudioCommon/OpenALStream.h @@ -40,7 +40,7 @@ #define FRAME_SURROUND_FLOAT SURROUND_CHANNELS * SIZE_FLOAT #endif -class OpenALStream: public SoundStream +class OpenALStream final : public SoundStream { #if defined HAVE_OPENAL && HAVE_OPENAL public: diff --git a/Source/Core/AudioCommon/OpenSLESStream.h b/Source/Core/AudioCommon/OpenSLESStream.h index ee81b30ff6..9ea3e32e61 100644 --- a/Source/Core/AudioCommon/OpenSLESStream.h +++ b/Source/Core/AudioCommon/OpenSLESStream.h @@ -7,7 +7,7 @@ #include "AudioCommon/SoundStream.h" #include "Common/Thread.h" -class OpenSLESStream : public SoundStream +class OpenSLESStream final : public SoundStream { #ifdef ANDROID public: diff --git a/Source/Core/AudioCommon/PulseAudioStream.h b/Source/Core/AudioCommon/PulseAudioStream.h index 8dddeca241..6e818b04ff 100644 --- a/Source/Core/AudioCommon/PulseAudioStream.h +++ b/Source/Core/AudioCommon/PulseAudioStream.h @@ -14,7 +14,7 @@ #include "Common/Common.h" #include "Common/Thread.h" -class PulseAudio : public SoundStream +class PulseAudio final : public SoundStream { #if defined(HAVE_PULSEAUDIO) && HAVE_PULSEAUDIO public: diff --git a/Source/Core/AudioCommon/XAudio2Stream.h b/Source/Core/AudioCommon/XAudio2Stream.h index de38c8765a..b0d4de4510 100644 --- a/Source/Core/AudioCommon/XAudio2Stream.h +++ b/Source/Core/AudioCommon/XAudio2Stream.h @@ -21,7 +21,7 @@ struct IXAudio2MasteringVoice; #endif -class XAudio2 : public SoundStream +class XAudio2 final : public SoundStream { #ifdef _WIN32 diff --git a/Source/Core/AudioCommon/XAudio2_7Stream.h b/Source/Core/AudioCommon/XAudio2_7Stream.h index ce0806a5c9..4f0f8b5285 100644 --- a/Source/Core/AudioCommon/XAudio2_7Stream.h +++ b/Source/Core/AudioCommon/XAudio2_7Stream.h @@ -26,7 +26,7 @@ struct IXAudio2MasteringVoice; #endif -class XAudio2_7 : public SoundStream +class XAudio2_7 final : public SoundStream { #ifdef _WIN32