Merge pull request #38210 from benjarmstrong/wasapi-audio-output-latency

Add support for variable output latency in WASAPI audio driver
This commit is contained in:
K. S. Ernest (iFire) Lee
2021-08-22 15:35:36 -07:00
committed by GitHub
2 changed files with 131 additions and 18 deletions

View File

@ -71,6 +71,7 @@ class AudioDriverWASAPI : public AudioDriver {
unsigned int channels = 0;
int mix_rate = 0;
int buffer_frames = 0;
int target_latency_ms = 0;
bool thread_exited = false;
mutable bool exit_thread = false;
@ -114,5 +115,5 @@ public:
AudioDriverWASAPI();
};
#endif // WASAPI_ENABLED
#endif // AUDIO_DRIVER_WASAPI_H
#endif