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 - [PATCH] perform header checks before enabling wasapi
Summary: [PATCH] perform header checks before enabling wasapi
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: HG 2.0
Hardware: All Windows (All)
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-21 13:16 UTC by Ozkan Sezer
Modified: 2017-08-21 18:17 UTC (History)
0 users

See Also:


Attachments
wasapi header check patch (2.92 KB, patch)
2017-08-21 13:16 UTC, Ozkan Sezer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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