From 11daf1869078a60ed2588ff5a61a4d9b27985beb Mon Sep 17 00:00:00 2001 From: Paul Gofman Date: Wed, 21 Apr 2021 19:00:23 +0300 Subject: [PATCH] mmdevapi: Return success from SAORS_GetAvailableDynamicObjectCount(). Signed-off-by: Paul Gofman Signed-off-by: Andrew Eikum Signed-off-by: Arkadiusz Hiler Signed-off-by: Alexandre Julliard --- dlls/mmdevapi/spatialaudio.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dlls/mmdevapi/spatialaudio.c b/dlls/mmdevapi/spatialaudio.c index 597c2d29933..12ddd5e790a 100644 --- a/dlls/mmdevapi/spatialaudio.c +++ b/dlls/mmdevapi/spatialaudio.c @@ -303,7 +303,9 @@ static HRESULT WINAPI SAORS_GetAvailableDynamicObjectCount( { SpatialAudioStreamImpl *This = impl_from_ISpatialAudioObjectRenderStream(iface); FIXME("(%p)->(%p)\n", This, count); - return E_NOTIMPL; + + *count = 0; + return S_OK; } static HRESULT WINAPI SAORS_GetService(ISpatialAudioObjectRenderStream *iface,