dsound: Avoid using the COM method implementations directly.

Andrew Eikum aeikum at codeweavers.com
Fri Sep 2 12:17:14 CDT 2016


I guess I'm not opposed to this, but are these changes useful?

Andrew

On Fri, Sep 02, 2016 at 10:37:33AM +0200, Michael Stefaniuc wrote:
> Signed-off-by: Michael Stefaniuc <mstefani at redhat.de>
> ---
>  dlls/dsound/capture.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/dlls/dsound/capture.c b/dlls/dsound/capture.c
> index 30870ae..38e3045 100644
> --- a/dlls/dsound/capture.c
> +++ b/dlls/dsound/capture.c
> @@ -861,7 +861,7 @@ static ULONG DirectSoundCaptureDevice_Release(
>          LeaveCriticalSection(&DSOUND_capturers_lock);
>  
>          if (device->capture_buffer)
> -            IDirectSoundCaptureBufferImpl_Release(&device->capture_buffer->IDirectSoundCaptureBuffer8_iface);
> +            IDirectSoundCaptureBuffer8_Release(&device->capture_buffer->IDirectSoundCaptureBuffer8_iface);
>  
>          if(device->mmdevice)
>              IMMDevice_Release(device->mmdevice);
> -- 
> 2.7.4
> 
> 



More information about the wine-devel mailing list