mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-08 23:25:40 +12:00
Remove unused miniaudio resampler
This commit is contained in:
parent
d299081c40
commit
72b4194c95
2 changed files with 3 additions and 4 deletions
|
@ -16,10 +16,9 @@ class MiniAudioDevice {
|
||||||
ma_device device;
|
ma_device device;
|
||||||
ma_context context;
|
ma_context context;
|
||||||
ma_device_config deviceConfig;
|
ma_device_config deviceConfig;
|
||||||
ma_resampler resampler;
|
|
||||||
Samples* samples = nullptr;
|
Samples* samples = nullptr;
|
||||||
|
|
||||||
AudioDeviceConfig& audioSettings;
|
const AudioDeviceConfig& audioSettings;
|
||||||
|
|
||||||
bool initialized = false;
|
bool initialized = false;
|
||||||
bool running = false;
|
bool running = false;
|
||||||
|
@ -29,7 +28,7 @@ class MiniAudioDevice {
|
||||||
std::vector<std::string> audioDevices;
|
std::vector<std::string> audioDevices;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
MiniAudioDevice(AudioDeviceConfig& audioSettings);
|
MiniAudioDevice(const AudioDeviceConfig& audioSettings);
|
||||||
|
|
||||||
// If safe is on, we create a null audio device
|
// If safe is on, we create a null audio device
|
||||||
void init(Samples& samples, bool safe = false);
|
void init(Samples& samples, bool safe = false);
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
#include "helpers.hpp"
|
#include "helpers.hpp"
|
||||||
|
|
||||||
MiniAudioDevice::MiniAudioDevice(AudioDeviceConfig& audioSettings)
|
MiniAudioDevice::MiniAudioDevice(const AudioDeviceConfig& audioSettings)
|
||||||
: initialized(false), running(false), samples(nullptr), audioSettings(audioSettings) {}
|
: initialized(false), running(false), samples(nullptr), audioSettings(audioSettings) {}
|
||||||
|
|
||||||
void MiniAudioDevice::init(Samples& samples, bool safe) {
|
void MiniAudioDevice::init(Samples& samples, bool safe) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue