mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-06 01:46:25 +00:00
wasapi: switched to event-driven interface.
This reduces latency and improves battery life.
This commit is contained in:
@@ -45,6 +45,7 @@ struct SDL_PrivateAudioData
|
||||
IAudioRenderClient *render;
|
||||
IAudioCaptureClient *capture;
|
||||
SDL_AudioStream *capturestream;
|
||||
HANDLE event;
|
||||
HANDLE task;
|
||||
SDL_bool coinitialized;
|
||||
int framesize;
|
||||
|
Reference in New Issue
Block a user