Audio: Properly close audio device on emulator destruction (#637)
* Audio: Properly close audio device on emulator destruction * Undo oopsie
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user