Index: webrtc/modules/audio_processing/include/audio_processing.h |
diff --git a/webrtc/modules/audio_processing/include/audio_processing.h b/webrtc/modules/audio_processing/include/audio_processing.h |
index 6a5a81d3b5027d7bcd787a9c316daf36159138b4..05be5feeb199daacf062b85ff9f1e94969f0cd74 100644 |
--- a/webrtc/modules/audio_processing/include/audio_processing.h |
+++ b/webrtc/modules/audio_processing/include/audio_processing.h |
@@ -21,6 +21,7 @@ |
#include "webrtc/base/arraysize.h" |
#include "webrtc/base/platform_file.h" |
+#include "webrtc/base/refcount.h" |
#include "webrtc/modules/audio_processing/beamformer/array_util.h" |
#include "webrtc/modules/audio_processing/include/config.h" |
#include "webrtc/typedefs.h" |
@@ -233,7 +234,7 @@ struct Intelligibility { |
// // Close the application... |
// delete apm; |
// |
-class AudioProcessing { |
+class AudioProcessing : public rtc::RefCountInterface { |
public: |
// The struct below constitutes the new parameter scheme for the audio |
// processing. It is being introduced gradually and until it is fully |
@@ -300,7 +301,7 @@ class AudioProcessing { |
// Only for testing. |
static AudioProcessing* Create(const webrtc::Config& config, |
NonlinearBeamformer* beamformer); |
- virtual ~AudioProcessing() {} |
+ ~AudioProcessing() override {} |
// Initializes internal states, while retaining all user settings. This |
// should be called before beginning to process a new audio stream. However, |