Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with 'src/ao_wmm.c' #12

Open
gvanem opened this issue Mar 1, 2021 · 0 comments
Open

Issue with 'src/ao_wmm.c' #12

gvanem opened this issue Mar 1, 2021 · 0 comments

Comments

@gvanem
Copy link

gvanem commented Mar 1, 2021

When compiling src/ao_wmm.c, I get this error from the Windows-SDK header <ksmedia.h>:

f:\ProgramFiler-x86\WindowsKits\Include\10.0.19041.0\shared\ksmedia.h(18,2): error: KS.H must be included before
      KSMEDIA.H
#error KS.H must be included before KSMEDIA.H
 ^

and a bunch or errors on unknown types like KSPROPERTY etc.

The easy fix was simply:

--- a/src/ao_wmm.c 2021-03-01 10:09:39
+++ b/src/ao_wmm.c 2021-03-01 10:39:52
@@ -33,6 +33,7 @@
 #include <windows.h>
 #include <mmreg.h>
 #include <mmsystem.h>
+#include <ks.h>
 #include <ksmedia.h>

 #include <stdlib.h>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant