небольшое обновление
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define AUDIO_ENGINE
|
||||
|
||||
#include <stdexcept>
|
||||
#include <iostream>
|
||||
#include "../external/miniaudio.h"
|
||||
#include "../include/synth.hpp"
|
||||
|
||||
@@ -22,7 +23,6 @@ class AudioEngine{
|
||||
else{
|
||||
throw std::runtime_error("ошибка: не удалось проинициализировать девайс");
|
||||
}
|
||||
|
||||
}
|
||||
~AudioEngine(){
|
||||
if (device_is_init) ma_device_uninit(&device);
|
||||
|
||||
Reference in New Issue
Block a user