mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-06 06:05:40 +12:00
Mark audio devices as final
This commit is contained in:
parent
a376bb5c9b
commit
d42974b5db
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
#include "audio/audio_device_interface.hpp"
|
#include "audio/audio_device_interface.hpp"
|
||||||
|
|
||||||
class LibretroAudioDevice : public AudioDeviceInterface {
|
class LibretroAudioDevice final : public AudioDeviceInterface {
|
||||||
bool initialized = false;
|
bool initialized = false;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
#include "audio/audio_device_interface.hpp"
|
#include "audio/audio_device_interface.hpp"
|
||||||
#include "miniaudio.h"
|
#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 sampleRate = 32768; // 3DS sample rate
|
||||||
static constexpr ma_uint32 channelCount = 2; // Audio output is stereo
|
static constexpr ma_uint32 channelCount = 2; // Audio output is stereo
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue