Skip to content

Commit 261126c

Browse files
committed
AGC & AEC available
1 parent 78c9425 commit 261126c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/audio_device/audio_engine_device.mm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -634,15 +634,15 @@
634634
// ----------------------------------------------------------------------------------------------------
635635
// Misc
636636

637-
bool AudioEngineDevice::BuiltInAECIsAvailable() const { return false; }
637+
bool AudioEngineDevice::BuiltInAECIsAvailable() const { return true; }
638638

639-
bool AudioEngineDevice::BuiltInAGCIsAvailable() const { return false; }
639+
bool AudioEngineDevice::BuiltInAGCIsAvailable() const { return true; }
640640

641641
bool AudioEngineDevice::BuiltInNSIsAvailable() const { return false; }
642642

643-
int32_t AudioEngineDevice::EnableBuiltInAEC(bool enable) { return -1; }
643+
int32_t AudioEngineDevice::EnableBuiltInAEC(bool enable) { return 0; }
644644

645-
int32_t AudioEngineDevice::EnableBuiltInAGC(bool enable) { return -1; }
645+
int32_t AudioEngineDevice::EnableBuiltInAGC(bool enable) { return 0; }
646646

647647
int32_t AudioEngineDevice::EnableBuiltInNS(bool enable) { return -1; }
648648

0 commit comments

Comments
 (0)