Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/sanear.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/AudioDeviceEvent.cpp')
-rw-r--r--src/AudioDeviceEvent.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/AudioDeviceEvent.cpp b/src/AudioDeviceEvent.cpp
index 8ddf5ee..b4fd323 100644
--- a/src/AudioDeviceEvent.cpp
+++ b/src/AudioDeviceEvent.cpp
@@ -176,8 +176,7 @@ namespace SaneAudioRenderer
void AudioDeviceEvent::PushBufferToDevice()
{
- UINT32 deviceFrames;
- ThrowIfFailed(m_backend->audioClient->GetBufferSize(&deviceFrames));
+ UINT32 deviceFrames = m_backend->deviceBufferSize;
if (!m_backend->exclusive)
{