summaryrefslogtreecommitdiff
path: root/RtAudio.cpp
diff options
context:
space:
mode:
authorMarcus Tomlinson <themarcustomlinson@gmail.com>2014-04-26 09:14:49 +0200
committerMarcus Tomlinson <themarcustomlinson@gmail.com>2014-04-26 09:14:49 +0200
commit1a14e053f746c3b783e853f21659f36bdbeac826 (patch)
tree8256c3bb72dd5f403d3c4378f2724f9ec40dee8a /RtAudio.cpp
parent9a920447e15eeaf8cf8f6002c120e6fb168caa6f (diff)
Set callbackPushed flag if there is no render stream (input only mode)
Diffstat (limited to 'RtAudio.cpp')
-rw-r--r--RtAudio.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/RtAudio.cpp b/RtAudio.cpp
index 039b5d0..3af8029 100644
--- a/RtAudio.cpp
+++ b/RtAudio.cpp
@@ -4956,6 +4956,10 @@ void RtApiWasapi::wasapiThread()
convBufferSize * stream_.nDeviceChannels[OUTPUT],
stream_.deviceFormat[OUTPUT] );
}
+ else {
+ // if there is no render stream, set callbackPushed flag
+ callbackPushed = true;
+ }
// Stream Capture
// ==============