projects
/
rtaudio-cdist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
affbdbe
)
#170 : Enable WASAPI doConvertBuffer when userInterleaved is enabled
author
Marcus Tomlinson
<themarcustomlinson@gmail.com>
Thu, 13 Dec 2018 22:40:29 +0000
(22:40 +0000)
committer
Marcus Tomlinson
<themarcustomlinson@gmail.com>
Thu, 13 Dec 2018 22:40:29 +0000
(22:40 +0000)
RtAudio.cpp
patch
|
blob
|
history
diff --git
a/RtAudio.cpp
b/RtAudio.cpp
index c1df43fba4ef15d56836e348567cb72dac76b0f3..7c87572fd79964819720eab69ccbce4cbaf1dd45 100644
(file)
--- a/
RtAudio.cpp
+++ b/
RtAudio.cpp
@@
-4860,7
+4860,8
@@
bool RtApiWasapi::probeDeviceOpen( unsigned int device, StreamMode mode, unsigne
stream_.doConvertBuffer[mode] = false;
if ( stream_.userFormat != stream_.deviceFormat[mode] ||
stream_.nUserChannels[0] != stream_.nDeviceChannels[0] ||
- stream_.nUserChannels[1] != stream_.nDeviceChannels[1] )
+ stream_.nUserChannels[1] != stream_.nDeviceChannels[1] ||
+ stream_.userInterleaved )
stream_.doConvertBuffer[mode] = true;
else if ( stream_.userInterleaved != stream_.deviceInterleaved[mode] &&
stream_.nUserChannels[mode] > 1 )