projects
/
rtaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d27f257
)
Fix WASAPI channel offset
204/head
author
Marcus Tomlinson
<themarcustomlinson@gmail.com>
Mon, 6 May 2019 17:41:30 +0000
(18:41 +0100)
committer
Marcus Tomlinson
<themarcustomlinson@gmail.com>
Mon, 6 May 2019 17:41:30 +0000
(18:41 +0100)
RtAudio.cpp
patch
|
blob
|
history
diff --git
a/RtAudio.cpp
b/RtAudio.cpp
index 0837d98ef1e8d6eafecd51505ba6d6f7f569552d..e7c3ad12cce4542e6aa5663c7feaae279ba92cac 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 );