X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=RtAudio.cpp;h=452ee32531661e70aca7929eac4912dd3d29d3ea;hb=fe5acf0320a836220a5f3e6bf2b3a598859509e5;hp=7b2f90749cb257018c3af1603d58f383c15ce629;hpb=91f3e583468d20bf0c18583b23ff307cb4061f2d;p=rtaudio-cdist.git diff --git a/RtAudio.cpp b/RtAudio.cpp index 7b2f907..452ee32 100644 --- 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 )