feat: Dummy none backend

> to run games with no sound
This commit is contained in:
[ ]
2023-09-28 20:21:06 +09:00
parent 5951a550bb
commit 15cd228b8d
6 changed files with 156 additions and 1 deletions
@@ -9,6 +9,7 @@
#include "hooks/audio/backends/wasapi/util.h"
#include "hooks/audio/implementations/asio.h"
#include "hooks/audio/implementations/wave_out.h"
#include "hooks/audio/implementations/none.h"
//#include "util/co_task_mem_ptr.h"
#include "defs.h"
@@ -160,6 +161,9 @@ IAudioClient *wrap_audio_client(IAudioClient *audio_client) {
case hooks::audio::Backend::WaveOut:
backend = new WaveOutBackend();
break;
case hooks::audio::Backend::None:
backend = new NoneBackend();
break;
default:
break;
}