Signed-off-by: Paul Gofman pgofman@codeweavers.com --- For Forza Horizon 4.
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,
On Wed, Apr 21, 2021 at 07:00:23PM +0300, Paul Gofman wrote:
Signed-off-by: Paul Gofman pgofman@codeweavers.com
For Forza Horizon 4.
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,
We are not implementing dynamic objects and already report SAC_GetMaxDynamicObjectCount as 0, so this makes sense.
Signed-off-by: Arkadiusz Hiler arek@codeweavers.com
Signed-off-by: Andrew Eikum aeikum@codeweavers.com
On Wed, Apr 21, 2021 at 07:00:23PM +0300, Paul Gofman wrote:
Signed-off-by: Paul Gofman pgofman@codeweavers.com
For Forza Horizon 4.
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,
2.30.2