Skip to content

Commit

Permalink
Mark audio devices as final
Browse files Browse the repository at this point in the history
  • Loading branch information
wheremyfoodat authored Feb 9, 2025
1 parent a376bb5 commit d42974b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/audio/libretro_audio_device.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "audio/audio_device_interface.hpp"

class LibretroAudioDevice : public AudioDeviceInterface {
class LibretroAudioDevice final : public AudioDeviceInterface {
bool initialized = false;

public:
Expand Down
2 changes: 1 addition & 1 deletion include/audio/miniaudio_device.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d42974b

Please sign in to comment.