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
2bd76939
Commit
2bd76939
authored
Oct 04, 2021
by
David Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Silence some unused function warnings.
parent
7b50c136
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
miniaudio.h
miniaudio.h
+3
-3
No files found.
miniaudio.h
View file @
2bd76939
...
@@ -10501,7 +10501,7 @@ static void ma_sleep__posix(ma_uint32 milliseconds)
...
@@ -10501,7 +10501,7 @@ static void ma_sleep__posix(ma_uint32 milliseconds)
}
}
#endif
#endif
static void ma_sleep(ma_uint32 milliseconds)
static
MA_INLINE
void ma_sleep(ma_uint32 milliseconds)
{
{
#ifdef MA_WIN32
#ifdef MA_WIN32
ma_sleep__win32(milliseconds);
ma_sleep__win32(milliseconds);
...
@@ -15750,7 +15750,7 @@ Timing
...
@@ -15750,7 +15750,7 @@ Timing
*******************************************************************************/
*******************************************************************************/
#ifdef MA_WIN32
#ifdef MA_WIN32
static LARGE_INTEGER g_ma_TimerFrequency; /* <-- Initialized to zero since it's static. */
static LARGE_INTEGER g_ma_TimerFrequency; /* <-- Initialized to zero since it's static. */
static
void ma_timer_init(ma_timer* pTimer)
void ma_timer_init(ma_timer* pTimer)
{
{
LARGE_INTEGER counter;
LARGE_INTEGER counter;
...
@@ -15762,7 +15762,7 @@ Timing
...
@@ -15762,7 +15762,7 @@ Timing
pTimer->counter = counter.QuadPart;
pTimer->counter = counter.QuadPart;
}
}
static
double ma_timer_get_time_in_seconds(ma_timer* pTimer)
double ma_timer_get_time_in_seconds(ma_timer* pTimer)
{
{
LARGE_INTEGER counter;
LARGE_INTEGER counter;
if (!QueryPerformanceCounter(&counter)) {
if (!QueryPerformanceCounter(&counter)) {
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