summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgaryscavone <garyscavone@users.noreply.github.com>2019-05-16 09:45:27 -0400
committerGitHub <noreply@github.com>2019-05-16 09:45:27 -0400
commit97e780e3ab77be795bb7ff73286865473314c347 (patch)
tree50705eb4405afc4fbaefd17cf2782c4df1ac2198
parent6bbbed77c911add7ab3bec143351053f03493366 (diff)
parent50e9bba7559500f1ba01f3d8bc29ce15969d49ca (diff)
Merge pull request #204 from thestk/fix-wasapi-channel-offset
Fix WASAPI channel offset
-rw-r--r--RtAudio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/RtAudio.cpp b/RtAudio.cpp
index 2ebf61a..defb800 100644
--- a/RtAudio.cpp
+++ b/RtAudio.cpp
@@ -4849,7 +4849,7 @@ bool RtApiWasapi::probeDeviceOpen( unsigned int device, StreamMode mode, unsigne
stream_.doConvertBuffer[mode] = true;
if ( stream_.doConvertBuffer[mode] )
- setConvertInfo( mode, 0 );
+ setConvertInfo( mode, firstChannel );
// Allocate necessary internal buffers
bufferBytes = stream_.nUserChannels[mode] * stream_.bufferSize * formatBytes( stream_.userFormat );