From d42974b5db701e7d65650a5cb9689fe60a674b17 Mon Sep 17 00:00:00 2001 From: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com> Date: Sun, 9 Feb 2025 14:45:56 +0200 Subject: [PATCH] Mark audio devices as final --- include/audio/libretro_audio_device.hpp | 2 +- include/audio/miniaudio_device.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/audio/libretro_audio_device.hpp b/include/audio/libretro_audio_device.hpp index 5b3a70c1..9c6d19f8 100644 --- a/include/audio/libretro_audio_device.hpp +++ b/include/audio/libretro_audio_device.hpp @@ -3,7 +3,7 @@ #include "audio/audio_device_interface.hpp" -class LibretroAudioDevice : public AudioDeviceInterface { +class LibretroAudioDevice final : public AudioDeviceInterface { bool initialized = false; public: diff --git a/include/audio/miniaudio_device.hpp b/include/audio/miniaudio_device.hpp index deb6e31a..5cf7c801 100644 --- a/include/audio/miniaudio_device.hpp +++ b/include/audio/miniaudio_device.hpp @@ -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