| Index: media/audio/win/core_audio_util_win.cc
|
| diff --git a/media/audio/win/core_audio_util_win.cc b/media/audio/win/core_audio_util_win.cc
|
| index 928914f71f08fa15098afb8ffd9858be4071d591..764b7a8f242c5bb9d4a083f1eaa8dd2f28ab17a8 100644
|
| --- a/media/audio/win/core_audio_util_win.cc
|
| +++ b/media/audio/win/core_audio_util_win.cc
|
| @@ -877,7 +877,7 @@ bool CoreAudioUtil::FillRenderEndpointBufferWithSilence(
|
|
|
| bool CoreAudioUtil::GetDxDiagDetails(std::string* driver_name,
|
| std::string* driver_version) {
|
| - ScopedComPtr<IDxDiagProvider, &IID_IDxDiagProvider> provider;
|
| + ScopedComPtr<IDxDiagProvider> provider;
|
| HRESULT hr =
|
| ::CoCreateInstance(CLSID_DxDiagProvider, NULL, CLSCTX_INPROC_SERVER,
|
| IID_IDxDiagProvider, &provider);
|
| @@ -892,14 +892,14 @@ bool CoreAudioUtil::GetDxDiagDetails(std::string* driver_name,
|
| if (FAILED(hr))
|
| return false;
|
|
|
| - ScopedComPtr<IDxDiagContainer, &IID_IDxDiagContainer> root;
|
| + ScopedComPtr<IDxDiagContainer> root;
|
| hr = provider->GetRootContainer(root.GetAddressOf());
|
| if (FAILED(hr))
|
| return false;
|
|
|
| // Limit to the SoundDevices subtree. The tree in its entirity is
|
| // enormous and only this branch contains useful information.
|
| - ScopedComPtr<IDxDiagContainer, &IID_IDxDiagContainer> sound_devices;
|
| + ScopedComPtr<IDxDiagContainer> sound_devices;
|
| hr = root->GetChildContainer(L"DxDiag_DirectSound.DxDiag_SoundDevices.0",
|
| sound_devices.GetAddressOf());
|
| if (FAILED(hr))
|
|
|