This commit is contained in:
Cosmin Apreutesei 2017-12-26 15:11:25 +02:00 committed by GitHub
parent fc96baf813
commit 7586115f88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1386,7 +1386,7 @@ static int outstream_do_open(struct SoundIoPrivate *si, struct SoundIoOutStreamP
return SoundIoErrorOpeningDevice; return SoundIoErrorOpeningDevice;
} }
if (FAILED(hr = IAudioClient_GetService(osw->audio_client, IID_ISimpleAudioVolume, if (FAILED(hr = IAudioClient_GetService(osw->audio_client, IID_ISIMPLEAUDIOVOLUME,
(void **)&osw->audio_volume_control))) (void **)&osw->audio_volume_control)))
{ {
return SoundIoErrorOpeningDevice; return SoundIoErrorOpeningDevice;