Re-implement dummy backend on 24-08-24

This commit is contained in:
2024-08-28 11:33:31 -04:00
parent caa9e02285
commit 06ba2a950f
6 changed files with 156 additions and 1 deletions

View File

@@ -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;
}