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
ddb901e3
Commit
ddb901e3
authored
Feb 03, 2020
by
David Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Silence some unused function warnings.
parent
a8fdb966
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
miniaudio.h
miniaudio.h
+4
-4
No files found.
miniaudio.h
View file @
ddb901e3
...
@@ -4803,7 +4803,7 @@ static void* ma__realloc_from_callbacks(void* p, size_t szNew, size_t szOld, con
...
@@ -4803,7 +4803,7 @@ static void* ma__realloc_from_callbacks(void* p, size_t szNew, size_t szOld, con
return NULL;
return NULL;
}
}
static void* ma__calloc_from_callbacks(size_t sz, const ma_allocation_callbacks* pAllocationCallbacks)
static
MA_INLINE
void* ma__calloc_from_callbacks(size_t sz, const ma_allocation_callbacks* pAllocationCallbacks)
{
{
void* p = ma__malloc_from_callbacks(sz, pAllocationCallbacks);
void* p = ma__malloc_from_callbacks(sz, pAllocationCallbacks);
if (p != NULL) {
if (p != NULL) {
...
@@ -5226,7 +5226,7 @@ static double ma_timer_get_time_in_seconds(ma_timer* pTimer)
...
@@ -5226,7 +5226,7 @@ static double ma_timer_get_time_in_seconds(ma_timer* pTimer)
Dynamic Linking
Dynamic Linking
*******************************************************************************/
*******************************************************************************/
static
ma_handle ma_dlopen(ma_context* pContext, const char* filename)
ma_handle ma_dlopen(ma_context* pContext, const char* filename)
{
{
ma_handle handle;
ma_handle handle;
...
@@ -5270,7 +5270,7 @@ static ma_handle ma_dlopen(ma_context* pContext, const char* filename)
...
@@ -5270,7 +5270,7 @@ static ma_handle ma_dlopen(ma_context* pContext, const char* filename)
return handle;
return handle;
}
}
static
void ma_dlclose(ma_context* pContext, ma_handle handle)
void ma_dlclose(ma_context* pContext, ma_handle handle)
{
{
#ifdef _WIN32
#ifdef _WIN32
FreeLibrary((HMODULE)handle);
FreeLibrary((HMODULE)handle);
...
@@ -5281,7 +5281,7 @@ static void ma_dlclose(ma_context* pContext, ma_handle handle)
...
@@ -5281,7 +5281,7 @@ static void ma_dlclose(ma_context* pContext, ma_handle handle)
(void)pContext;
(void)pContext;
}
}
static
ma_proc ma_dlsym(ma_context* pContext, ma_handle handle, const char* symbol)
ma_proc ma_dlsym(ma_context* pContext, ma_handle handle, const char* symbol)
{
{
ma_proc proc;
ma_proc proc;
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