Merge pull request #178 from capr/master

typo? (failed to compile with mingw64 with std=c11)
This commit is contained in:
Andrew Kelley 2018-03-14 13:23:06 -06:00 committed by GitHub
commit 7c53dabc6e
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;
}
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)))
{
return SoundIoErrorOpeningDevice;