Reporting audio device underrun counter
Bug: webrtc:10884 Change-Id: I35636fcbc1e2a19a89242379cdff6ec5c12fd21a Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/149200 Reviewed-by: Henrik Andreassson <henrika@webrtc.org> Commit-Queue: Alex Narest <alexnarest@google.com> Cr-Commit-Position: refs/heads/master@{#28874}
This commit is contained in:
@ -125,6 +125,8 @@ class AudioDeviceModuleIOS : public AudioDeviceModule {
|
||||
bool BuiltInNSIsAvailable() const override;
|
||||
int32_t EnableBuiltInNS(bool enable) override;
|
||||
|
||||
int32_t GetPlayoutUnderrunCount() const override;
|
||||
|
||||
#if defined(WEBRTC_IOS)
|
||||
int GetPlayoutAudioParameters(AudioParameters* params) const override;
|
||||
int GetRecordAudioParameters(AudioParameters* params) const override;
|
||||
|
||||
@ -642,6 +642,14 @@ AudioDeviceModuleIOS::AudioDeviceModuleIOS()
|
||||
return ok;
|
||||
}
|
||||
|
||||
int32_t AudioDeviceModuleIOS::GetPlayoutUnderrunCount() const {
|
||||
RTC_LOG(INFO) << __FUNCTION__;
|
||||
CHECKinitialized_();
|
||||
int32_t ok = audio_device_->GetPlayoutUnderrunCount();
|
||||
RTC_LOG(INFO) << "output: " << ok;
|
||||
return ok;
|
||||
}
|
||||
|
||||
#if defined(WEBRTC_IOS)
|
||||
int AudioDeviceModuleIOS::GetPlayoutAudioParameters(
|
||||
AudioParameters* params) const {
|
||||
|
||||
Reference in New Issue
Block a user