summaryrefslogtreecommitdiff
path: root/RtAudio.cpp
diff options
context:
space:
mode:
authorGary Scavone <gary@music.mcgill.ca>2016-02-10 15:32:20 -0500
committerGary Scavone <gary@music.mcgill.ca>2016-02-10 15:32:20 -0500
commit70b95123e8cf93092d23688a65fb276e98d42f5e (patch)
treeb8399565acb5f58a4d3b17db0e0d91fe19fb1189 /RtAudio.cpp
parent9bbdbbe9c11e4b7b44f76f78443236aa9fafe4b8 (diff)
WASAPI stream time update, as suggested by Patrice Taravel
Diffstat (limited to 'RtAudio.cpp')
-rwxr-xr-xRtAudio.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/RtAudio.cpp b/RtAudio.cpp
index d87930b..509e949 100755
--- a/RtAudio.cpp
+++ b/RtAudio.cpp
@@ -5158,10 +5158,10 @@ void RtApiWasapi::wasapiThread()
// if the callback buffer was pushed renderBuffer reset callbackPulled flag
if ( callbackPushed ) {
callbackPulled = false;
+ // tick stream time
+ RtApi::tickStreamTime();
}
- // tick stream time
- RtApi::tickStreamTime();
}
Exit: