mmdevapi: Report 100% volume in GetMasterVolumeLevelScalar stub.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=31890
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alex Henrie 2020-03-22 00:46:11 -06:00 committed by Alexandre Julliard
parent 00e55c8fc0
commit 3ea35e7ea1
1 changed files with 2 additions and 1 deletions

View File

@ -159,7 +159,8 @@ static HRESULT WINAPI AEV_GetMasterVolumeLevelScalar(IAudioEndpointVolumeEx *ifa
if (!level) if (!level)
return E_POINTER; return E_POINTER;
FIXME("stub\n"); FIXME("stub\n");
return E_NOTIMPL; *level = 1.0;
return S_OK;
} }
static HRESULT WINAPI AEV_SetChannelVolumeLevel(IAudioEndpointVolumeEx *iface, UINT chan, float leveldb, const GUID *ctx) static HRESULT WINAPI AEV_SetChannelVolumeLevel(IAudioEndpointVolumeEx *iface, UINT chan, float leveldb, const GUID *ctx)