mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 02:58:20 +00:00
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:
parent
00e55c8fc0
commit
3ea35e7ea1
|
@ -159,7 +159,8 @@ static HRESULT WINAPI AEV_GetMasterVolumeLevelScalar(IAudioEndpointVolumeEx *ifa
|
|||
if (!level)
|
||||
return E_POINTER;
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue