Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
miniaudio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
miniaudio
Commits
9d3b59f0
Commit
9d3b59f0
authored
Mar 18, 2023
by
David Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation errors with the WASAPI backend for Cosmopolitan.
parent
18b4ac24
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
129 additions
and
61 deletions
+129
-61
extras/cosmopolitan/include/windows.h
extras/cosmopolitan/include/windows.h
+5
-0
miniaudio.h
miniaudio.h
+124
-61
No files found.
extras/cosmopolitan/include/windows.h
View file @
9d3b59f0
...
@@ -29,6 +29,7 @@ typedef int64_t LONGLONG;
...
@@ -29,6 +29,7 @@ typedef int64_t LONGLONG;
typedef
uint32_t
ULONG
;
/* `long` is always 32-bit on Windows. */
typedef
uint32_t
ULONG
;
/* `long` is always 32-bit on Windows. */
typedef
uint64_t
ULONGLONG
;
typedef
uint64_t
ULONGLONG
;
typedef
char16_t
WCHAR
;
typedef
char16_t
WCHAR
;
typedef
unsigned
int
UINT
;
#define TRUE 1
#define TRUE 1
#define FALSE 0
#define FALSE 0
...
@@ -36,6 +37,10 @@ typedef char16_t WCHAR;
...
@@ -36,6 +37,10 @@ typedef char16_t WCHAR;
#define WAIT_OBJECT_0 0
#define WAIT_OBJECT_0 0
#define INFINITE 0xFFFFFFFF
#define INFINITE 0xFFFFFFFF
#define STGM_READ 0
#define CLSCTX_ALL 23
#define CP_UTF8 65001
#define FAILED(hr) ((hr) < 0)
#define FAILED(hr) ((hr) < 0)
#define SUCCEEDED(hr) ((hr) >= 0)
#define SUCCEEDED(hr) ((hr) >= 0)
...
...
miniaudio.h
View file @
9d3b59f0
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment