Mark the audio streams as final.
These aren't intended to be continually extended.
This commit is contained in:
parent
fab2808e5c
commit
5e5ab61d0c
|
@ -11,7 +11,7 @@
|
|||
#include <ao/ao.h>
|
||||
#endif
|
||||
|
||||
class AOSound : public SoundStream
|
||||
class AOSound final : public SoundStream
|
||||
{
|
||||
#if defined(HAVE_AO) && HAVE_AO
|
||||
std::thread thread;
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
#include "AudioCommon/SoundStream.h"
|
||||
|
||||
class CoreAudioSound : public SoundStream
|
||||
class CoreAudioSound final : public SoundStream
|
||||
{
|
||||
#ifdef __APPLE__
|
||||
public:
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#define BUFSIZE (1024 * 8 * 4)
|
||||
#endif
|
||||
|
||||
class DSound : public SoundStream
|
||||
class DSound final : public SoundStream
|
||||
{
|
||||
#ifdef _WIN32
|
||||
std::thread thread;
|
||||
|
|
|
@ -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)];
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#include "AudioCommon/SoundStream.h"
|
||||
#include "Common/Thread.h"
|
||||
|
||||
class OpenSLESStream : public SoundStream
|
||||
class OpenSLESStream final : public SoundStream
|
||||
{
|
||||
#ifdef ANDROID
|
||||
public:
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -21,7 +21,7 @@ struct IXAudio2MasteringVoice;
|
|||
|
||||
#endif
|
||||
|
||||
class XAudio2 : public SoundStream
|
||||
class XAudio2 final : public SoundStream
|
||||
{
|
||||
#ifdef _WIN32
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ struct IXAudio2MasteringVoice;
|
|||
|
||||
#endif
|
||||
|
||||
class XAudio2_7 : public SoundStream
|
||||
class XAudio2_7 final : public SoundStream
|
||||
{
|
||||
#ifdef _WIN32
|
||||
|
||||
|
|
Loading…
Reference in New Issue