We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3763

Summary: [PATCH] perform header checks before enabling wasapi
Product: SDL Reporter: Ozkan Sezer <sezeroz>
Component: buildAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.0   
Hardware: All   
OS: Windows (All)   
Attachments: wasapi header check patch

Description Ozkan Sezer 2017-08-21 13:16:23 UTC
Created attachment 2868 [details]
wasapi header check patch

The current configury unconditionally enables wasapi, if 'directx' is
enabled. However not all SDKs may have the required mmdeviceapi.h and
audioclient.h headers. The attached small patch changes the configury
to do that.
Comment 1 Sam Lantinga 2017-08-21 18:17:59 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/a9f4f63b5add