From: Marcus Tomlinson Date: Sat, 26 Apr 2014 07:14:49 +0000 (+0200) Subject: Set callbackPushed flag if there is no render stream (input only mode) X-Git-Url: https://main.carlh.net/gitweb/?p=rtaudio-cdist.git;a=commitdiff_plain;h=1a14e053f746c3b783e853f21659f36bdbeac826 Set callbackPushed flag if there is no render stream (input only mode) --- 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 // ==============