projects
/
rtaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91f3e58
)
Fix setting stream_.doConvertBuffer[mode]
author
Marcus Tomlinson
<themarcustomlinson@gmail.com>
Sat, 23 Dec 2017 09:28:25 +0000
(11:28 +0200)
committer
Marcus Tomlinson
<marcustomlinson@MacBook-Air.local>
Wed, 22 Aug 2018 08:29:11 +0000
(09:29 +0100)
RtAudio.cpp
patch
|
blob
|
history
diff --git
a/RtAudio.cpp
b/RtAudio.cpp
index 7b2f90749cb257018c3af1603d58f383c15ce629..452ee32531661e70aca7929eac4912dd3d29d3ea 100644
(file)
--- a/
RtAudio.cpp
+++ b/
RtAudio.cpp
@@
-4739,7
+4739,8
@@
bool RtApiWasapi::probeDeviceOpen( unsigned int device, StreamMode mode, unsigne
// Set flags for buffer conversion.
stream_.doConvertBuffer[mode] = false;
if ( stream_.userFormat != stream_.deviceFormat[mode] ||
- stream_.nUserChannels != stream_.nDeviceChannels )
+ stream_.nUserChannels[0] != stream_.nDeviceChannels[0] ||
+ stream_.nUserChannels[1] != stream_.nDeviceChannels[1] )
stream_.doConvertBuffer[mode] = true;
else if ( stream_.userInterleaved != stream_.deviceInterleaved[mode] &&
stream_.nUserChannels[mode] > 1 )