Index: webrtc/modules/audio_device/mac/audio_device_mac.cc |
diff --git a/webrtc/modules/audio_device/mac/audio_device_mac.cc b/webrtc/modules/audio_device/mac/audio_device_mac.cc |
index 70236b8837df9efead7bffbbdc6673e02a1e3d3f..77897a2df4b1f997592aa1996355b9e1286bf315 100644 |
--- a/webrtc/modules/audio_device/mac/audio_device_mac.cc |
+++ b/webrtc/modules/audio_device/mac/audio_device_mac.cc |
@@ -1181,7 +1181,7 @@ int32_t AudioDeviceMac::InitPlayout() { |
// Listen for format changes. |
propertyAddress.mSelector = kAudioDevicePropertyStreamFormat; |
- WEBRTC_CA_RETURN_ON_ERR(AudioObjectAddPropertyListener( |
+ WEBRTC_CA_LOG_WARN(AudioObjectAddPropertyListener( |
_outputDeviceID, &propertyAddress, &objectListenerProc, this)); |
// Listen for processor overloads. |
@@ -1379,7 +1379,7 @@ int32_t AudioDeviceMac::InitRecording() { |
// Listen for format changes |
// TODO(xians): should we be using kAudioDevicePropertyDeviceHasChanged? |
propertyAddress.mSelector = kAudioDevicePropertyStreamFormat; |
- WEBRTC_CA_RETURN_ON_ERR(AudioObjectAddPropertyListener( |
+ WEBRTC_CA_LOG_WARN(AudioObjectAddPropertyListener( |
_inputDeviceID, &propertyAddress, &objectListenerProc, this)); |
// Listen for processor overloads |