From dfc11d55af84851c58a1c03423a634e3bc9ba08f Mon Sep 17 00:00:00 2001 From: Alessio Bazzica Date: Fri, 7 May 2021 11:58:11 +0200 Subject: [PATCH] Add RTC_EXPORT to APM config structs with overloaded operators MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: webrtc:7494 Change-Id: I9b627709d8c5bb47d73fd7981259a95e6b51e16c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/217766 Reviewed-by: Per Ã…hgren Commit-Queue: Alessio Bazzica Cr-Commit-Position: refs/heads/master@{#33946} --- modules/audio_processing/include/audio_processing.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/audio_processing/include/audio_processing.h b/modules/audio_processing/include/audio_processing.h index 9e6eed42ee..6bc50f0554 100644 --- a/modules/audio_processing/include/audio_processing.h +++ b/modules/audio_processing/include/audio_processing.h @@ -275,7 +275,7 @@ class RTC_EXPORT AudioProcessing : public rtc::RefCountInterface { // in the analog mode, prescribing an analog gain to be applied at the audio // HAL. // Recommended to be enabled on the client-side. - struct GainController1 { + struct RTC_EXPORT GainController1 { bool operator==(const GainController1& rhs) const; bool operator!=(const GainController1& rhs) const { return !(*this == rhs); @@ -343,7 +343,7 @@ class RTC_EXPORT AudioProcessing : public rtc::RefCountInterface { // setting |fixed_gain_db|, the limiter can be turned into a compressor that // first applies a fixed gain. The adaptive digital AGC can be turned off by // setting |adaptive_digital_mode=false|. - struct GainController2 { + struct RTC_EXPORT GainController2 { bool operator==(const GainController2& rhs) const; bool operator!=(const GainController2& rhs) const { return !(*this == rhs); @@ -356,7 +356,7 @@ class RTC_EXPORT AudioProcessing : public rtc::RefCountInterface { struct FixedDigital { float gain_db = 0.0f; } fixed_digital; - struct AdaptiveDigital { + struct RTC_EXPORT AdaptiveDigital { bool operator==(const AdaptiveDigital& rhs) const; bool operator!=(const AdaptiveDigital& rhs) const { return !(*this == rhs);