mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-21 21:05:50 +12:00
Libretro: Add audio support
This commit is contained in:
parent
54a78902bc
commit
be071ffb78
3 changed files with 57 additions and 0 deletions
|
@ -10,6 +10,7 @@
|
|||
MiniAudioDevice::MiniAudioDevice(const AudioDeviceConfig& audioSettings)
|
||||
: initialized(false), running(false), samples(nullptr), audioSettings(audioSettings) {}
|
||||
|
||||
#ifndef __LIBRETRO__
|
||||
void MiniAudioDevice::init(Samples& samples, bool safe) {
|
||||
this->samples = &samples;
|
||||
running = false;
|
||||
|
@ -213,3 +214,4 @@ void MiniAudioDevice::close() {
|
|||
ma_context_uninit(&context);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue