From 180b6fb0834038cd558b2791f6afdbf6063ed30c Mon Sep 17 00:00:00 2001 From: Giannis Adamopoulos Date: Tue, 28 Oct 2014 15:27:00 +0000 Subject: [PATCH] [STOBJECT] - Disable querying if audio is muted or not for now. - Hides an assert that happened in wdmaud.drv svn path=/branches/shell-experiments/; revision=65073 --- dll/shellext/stobject/volume.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dll/shellext/stobject/volume.cpp b/dll/shellext/stobject/volume.cpp index f3d23af18c4..d7c041d12e3 100644 --- a/dll/shellext/stobject/volume.cpp +++ b/dll/shellext/stobject/volume.cpp @@ -114,6 +114,7 @@ static HRESULT __stdcall Volume_FindMixerControl(CSysTray * pSysTray) HRESULT Volume_IsMute() { +#if 0 MIXERCONTROLDETAILS mixerControlDetails; if (g_mixerId != (UINT)-1 && g_muteControlID != (DWORD)-1) @@ -132,7 +133,7 @@ HRESULT Volume_IsMute() g_IsMute = detailsResult != 0; } - +#endif return S_OK; }