[vlc-commits] aout: winstore: fix compilation
Steve Lhomme
git at videolan.org
Wed Apr 8 14:53:58 CEST 2020
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Apr 7 16:01:22 2020 +0200| [81d3212ab177c7ec8514944bf4c05a33d3a50704] | committer: Steve Lhomme
aout: winstore: fix compilation
Broken since
Revision: fd04c9b2fa86db97dde764a96d9f612b62d57e4f
Author: Thomas Guillem <thomas at gllm.fr>
Date: 2019-09-27 17:02:53
Message:
mmdevice: pass play date to streams
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=81d3212ab177c7ec8514944bf4c05a33d3a50704
---
modules/audio_output/winstore.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/audio_output/winstore.c b/modules/audio_output/winstore.c
index 5a6f873ae2..9fcd6768e0 100644
--- a/modules/audio_output/winstore.c
+++ b/modules/audio_output/winstore.c
@@ -88,7 +88,7 @@ static int VolumeSet(audio_output_t *aout, float vol)
aout_GainRequest(aout, gain);
- hr = IAudioClient_GetService(sys->client, &IID_ISimpleAudioVolume, &pc_AudioVolume);
+ hr = IAudioClient_GetService(sys->client, &IID_ISimpleAudioVolume, (void**)&pc_AudioVolume);
if (FAILED(hr))
{
msg_Err(aout, "cannot get volume service (error 0x%lX)", hr);
@@ -116,7 +116,7 @@ static int MuteSet(audio_output_t *aout, bool mute)
HRESULT hr;
ISimpleAudioVolume *pc_AudioVolume = NULL;
- hr = IAudioClient_GetService(sys->client, &IID_ISimpleAudioVolume, &pc_AudioVolume);
+ hr = IAudioClient_GetService(sys->client, &IID_ISimpleAudioVolume, (void**)&pc_AudioVolume);
if (FAILED(hr))
{
msg_Err(aout, "cannot get volume service (error 0x%lX)", hr);
@@ -157,7 +157,7 @@ static void Play(audio_output_t *aout, block_t *block, vlc_tick_t date)
return;
EnterMTA();
- HRESULT hr = aout_stream_Play(sys->stream, block);
+ HRESULT hr = aout_stream_Play(sys->stream, block, date);
LeaveMTA();
vlc_FromHR(aout, hr);
More information about the vlc-commits
mailing list