[vlc-devel] [PATCH] wasapi: Delegate cleanup to the audio output

Rémi Denis-Courmont remi at remlab.net
Mon Feb 16 12:23:22 CET 2015


Le 2015-02-16 14:07, Hugo Beauzée-Luyssen a écrit :
> ---
>  modules/audio_output/mmdevice.c | 9 +++++++++
>  modules/audio_output/mmdevice.h | 8 ++++++++
>  modules/audio_output/wasapi.c   | 5 ++---
>  modules/audio_output/winstore.c | 7 +++++++
>  4 files changed, 26 insertions(+), 3 deletions(-)

MMDevice cannot assume that the activated object is an IAudioClient. If 
it did,  there would be REFIID parameter. Ergo, the patch makes no sense 
to me.
Besides, the audio output can already specify custom COM callbacks if 
it so required. No changes are necessary to the existing stream 
interface.

-- 
Rémi Denis-Courmont



More information about the vlc-devel mailing list