Fix stereo capture paths
This commit is contained in:
@@ -14,8 +14,9 @@ public sealed partial class VoiceCatClient
|
||||
StreamInfo? stream = null;
|
||||
try
|
||||
{
|
||||
stream = core.StartStreamAsync((StreamKind)kind, label).GetAwaiter().GetResult();
|
||||
local[stream.StreamId] = new(stream, external);
|
||||
int captureChannels = kind == VcStreamKind.Mic ? 1 : 2;
|
||||
stream = core.StartStreamAsync((StreamKind)kind, label, captureChannels).GetAwaiter().GetResult();
|
||||
local[stream.StreamId] = new(stream, external, captureChannels);
|
||||
if (!external && backend is not null) captures[stream.StreamId] = Capture(stream);
|
||||
return (VcResult.Ok, stream.StreamId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user