Remove polling requirement from DSound audio backend

Might as well sleep for a short period instead, same effect really.
This commit is contained in:
Henrik Rydgård committed 2023-03-24 10:40:10 +01:00
1 parent a6e5d59d9a
commit 21bd50dcb0
8 files changed
+25 -60

No files matched your search

-5
View File
@@ -132,11 +132,6 @@ void WindowsHost::SetWindowTitle(const char *message) {
// UGLY!
extern WindowsAudioBackend *winAudioBackend;
void WindowsHost::UpdateSound() {
if (winAudioBackend)
winAudioBackend->Update();
}
void WindowsHost::PollControllers() {
static int checkCounter = 0;
static const int CHECK_FREQUENCY = 71;