Signed-off-by: Michael Stefaniuc mstefani@winehq.org --- The second cast should go too but that requires exposing struct QualityControlImpl in include/wine/strmbase.h .
dlls/quartz/dsoundrender.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/quartz/dsoundrender.c b/dlls/quartz/dsoundrender.c index 6451f85b5a..3478f95f51 100644 --- a/dlls/quartz/dsoundrender.c +++ b/dlls/quartz/dsoundrender.c @@ -394,7 +394,7 @@ static HRESULT WINAPI DSoundRender_DoRenderSample(BaseRenderer *iface, IMediaSam q.Proportion = 1000; q.Late = jitter; q.TimeStamp = tStart; - IQualityControl_Notify((IQualityControl *)This->renderer.qcimpl, (IBaseFilter*)This, q); + IQualityControl_Notify((IQualityControl *)This->renderer.qcimpl, &This->renderer.filter.IBaseFilter_iface, q); } return hr; }
On 09/02/2019 05:18 AM, Michael Stefaniuc wrote:
Signed-off-by: Michael Stefaniuc mstefani@winehq.org
The second cast should go too but that requires exposing struct QualityControlImpl in include/wine/strmbase.h .
Which is fine in principle, though as it happens it's incorrect that there's any quality management done in dsoundrender in the first place.