From d91183be524c2a2d13d5c40473297cbc713f43da Mon Sep 17 00:00:00 2001 From: Saracen Date: Fri, 27 Jul 2018 19:34:07 +0100 Subject: [PATCH] Added pointer to WASAPI input_buffer_write method. --- drivers/wasapi/audio_driver_wasapi.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/wasapi/audio_driver_wasapi.cpp b/drivers/wasapi/audio_driver_wasapi.cpp index 827aecd1c8a..a2f619a6ef8 100644 --- a/drivers/wasapi/audio_driver_wasapi.cpp +++ b/drivers/wasapi/audio_driver_wasapi.cpp @@ -695,8 +695,8 @@ void AudioDriverWASAPI::thread_func(void *p_udata) { } } - input_buffer_write(l); - input_buffer_write(r); + ad->input_buffer_write(l); + ad->input_buffer_write(r); } read_frames += num_frames_available;