mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-21 12:59:14 +12:00
Audio: Properly close audio device on emulator destruction (#637)
* Audio: Properly close audio device on emulator destruction * Undo oopsie
This commit is contained in:
parent
452510b932
commit
889c2453de
3 changed files with 21 additions and 7 deletions
|
@ -21,10 +21,12 @@ class MiniAudioDevice {
|
|||
bool running = false;
|
||||
|
||||
std::vector<std::string> audioDevices;
|
||||
|
||||
public:
|
||||
MiniAudioDevice();
|
||||
// If safe is on, we create a null audio device
|
||||
void init(Samples& samples, bool safe = false);
|
||||
void close();
|
||||
|
||||
void start();
|
||||
void stop();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue