Index: remoting/host/audio_capturer_win.cc |
diff --git a/remoting/host/audio_capturer_win.cc b/remoting/host/audio_capturer_win.cc |
index 1250ca4d9b944418aee11c2ac94da45e9893fffa..c00a3f989d0397374eda541789839c70e54a2e04 100644 |
--- a/remoting/host/audio_capturer_win.cc |
+++ b/remoting/host/audio_capturer_win.cc |
@@ -115,7 +115,7 @@ bool AudioCapturerWin::Initialize() { |
// Get the audio endpoint. |
hr = mm_device_enumerator->GetDefaultAudioEndpoint(eRender, eConsole, |
- mm_device_.Receive()); |
+ mm_device_.GetAddressOf()); |
if (FAILED(hr)) { |
LOG(ERROR) << "Failed to get IMMDevice. Error " << hr; |
return false; |