diff options
| author | Marcus Tomlinson <themarcustomlinson@gmail.com> | 2018-12-13 22:40:29 +0000 |
|---|---|---|
| committer | Marcus Tomlinson <themarcustomlinson@gmail.com> | 2018-12-13 22:40:29 +0000 |
| commit | 79c306a90943f00bd29a725fc25d3ee3fb3f0d34 (patch) | |
| tree | 3b3aee1dc5d96231ac31192e5e07e9d3c79ed1df /RtAudio.cpp | |
| parent | affbdbe9010b5f3dcb59377c1814803d53f56a40 (diff) | |
#170 : Enable WASAPI doConvertBuffer when userInterleaved is enabled
Diffstat (limited to 'RtAudio.cpp')
| -rw-r--r-- | RtAudio.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/RtAudio.cpp b/RtAudio.cpp index c1df43f..7c87572 100644 --- 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 ) |
