diff options
| author | Marcus Tomlinson <themarcustomlinson@gmail.com> | 2019-05-06 18:41:30 +0100 |
|---|---|---|
| committer | Marcus Tomlinson <themarcustomlinson@gmail.com> | 2019-05-06 18:41:30 +0100 |
| commit | 50e9bba7559500f1ba01f3d8bc29ce15969d49ca (patch) | |
| tree | 07f1ebf668f6a8a72960aa0708c1a964b903ea75 | |
| parent | d27f257b4bc827e4152cdc4d69a2e22084204afd (diff) | |
Fix WASAPI channel offset
| -rw-r--r-- | RtAudio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/RtAudio.cpp b/RtAudio.cpp index 0837d98..e7c3ad1 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 ); |
