refactor: Bad attempt of fixing waveout

> tried to unify use of hooks::audio::FORMAT between backends
This commit is contained in:
[ ]
2023-09-26 05:20:02 +09:00
parent a0e44f9e4b
commit 5951a550bb
5 changed files with 40 additions and 17 deletions
+2
View File
@@ -10,6 +10,7 @@
struct WaveOutBackend final : AudioBackend {
public:
explicit WaveOutBackend();
~WaveOutBackend() final = default;
HRESULT init(uint32_t buffer_size);
@@ -49,6 +50,7 @@ public:
private:
WrappedIAudioClient *client;
const WAVEFORMATEXTENSIBLE &format_;
bool initialized = false;
HANDLE relay_event = nullptr;
HANDLE dispatcher_event = nullptr;