Mark audio devices as final

This commit is contained in:
wheremyfoodat 2025-02-09 14:45:56 +02:00 committed by GitHub
parent a376bb5c9b
commit d42974b5db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
#include "audio/audio_device_interface.hpp"
class LibretroAudioDevice : public AudioDeviceInterface {
class LibretroAudioDevice final : public AudioDeviceInterface {
bool initialized = false;
public:

View file

@ -6,7 +6,7 @@
#include "audio/audio_device_interface.hpp"
#include "miniaudio.h"
class MiniAudioDevice : public AudioDeviceInterface {
class MiniAudioDevice final : public AudioDeviceInterface {
static constexpr ma_uint32 sampleRate = 32768; // 3DS sample rate
static constexpr ma_uint32 channelCount = 2; // Audio output is stereo