Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit 24c1c52

Browse files
authored
Enable stereo recording for custom ADM. (#672)
1 parent 9b06e0c commit 24c1c52

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

talk/owt/sdk/base/customizedaudiocapturer.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,8 @@ int32_t CustomizedAudioCapturer::StereoPlayout(bool& enabled) const {
224224
return -1;
225225
}
226226
int32_t CustomizedAudioCapturer::StereoRecordingIsAvailable(bool& available) {
227-
return -1;
227+
available = true;
228+
return 0;
228229
}
229230
int32_t CustomizedAudioCapturer::SetStereoRecording(bool enable) {
230231
return -1;

0 commit comments

Comments
 (0)