Index: media/audio/mac/audio_low_latency_input_mac.h |
diff --git a/media/audio/mac/audio_low_latency_input_mac.h b/media/audio/mac/audio_low_latency_input_mac.h |
index 332828b783f3c978a215ec96095b30bf0dca6b3c..67dfb40da12edc17af4ae2123a6025ded5464d04 100644 |
--- a/media/audio/mac/audio_low_latency_input_mac.h |
+++ b/media/audio/mac/audio_low_latency_input_mac.h |
@@ -66,9 +66,11 @@ class MEDIA_EXPORT AUAudioInputStream |
public: |
// The ctor takes all the usual parameters, plus |manager| which is the |
// the audio manager who is creating this object. |
- AUAudioInputStream(AudioManagerMac* manager, |
- const AudioParameters& input_params, |
- AudioDeviceID audio_device_id); |
+ AUAudioInputStream( |
+ AudioManagerMac* manager, |
+ const AudioParameters& input_params, |
+ AudioDeviceID audio_device_id, |
+ const AudioManager::StatisticsCallback& statistics_callback); |
// The dtor is typically called by the AudioManager only and it is usually |
// triggered by calling AudioInputStream::Close(). |
~AUAudioInputStream() override; |
@@ -324,6 +326,9 @@ class MEDIA_EXPORT AUAudioInputStream |
// set to zero once in the constructor and then never reset again. |
size_t total_number_of_restart_attempts_; |
+ // Sends statistics info. |
+ AudioManager::StatisticsCallback statistics_callback_; |
+ |
// Used to ensure DevicePropertyChangedOnMainThread() is not called when |
// this object is destroyed. |
// Note that, all member variables should appear before the WeakPtrFactory. |