projects
/
rtaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
6bbbed7
)
Merge pull request #204 from thestk/fix-wasapi-channel-offset
author
garyscavone
<garyscavone@users.noreply.github.com>
Thu, 16 May 2019 13:45:27 +0000
(09:45 -0400)
committer
GitHub
<noreply@github.com>
Thu, 16 May 2019 13:45:27 +0000
(09:45 -0400)
Fix WASAPI channel offset
RtAudio.cpp
patch
|
blob
|
history
diff --git
a/RtAudio.cpp
b/RtAudio.cpp
index 2ebf61a6e78c1d071e7d17210ce8e79b3a443ea1..defb800b199839b0c7573c74831ce737eeb3d93f 100644
(file)
--- 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 );