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
81a3f717
Commit
81a3f717
authored
Mar 08, 2020
by
David Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix unused parameter warnings on macOS.
parent
a5ee74ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
miniaudio.h
miniaudio.h
+7
-1
No files found.
miniaudio.h
View file @
81a3f717
...
@@ -8388,6 +8388,8 @@ static ma_result ma_semaphore_init__posix(ma_context* pContext, int initialValue
...
@@ -8388,6 +8388,8 @@ static ma_result ma_semaphore_init__posix(ma_context* pContext, int initialValue
#if defined(MA_APPLE)
#if defined(MA_APPLE)
/* Not yet implemented for Apple platforms since sem_init() is deprecated. Need to use a named semaphore via sem_open() instead. */
/* Not yet implemented for Apple platforms since sem_init() is deprecated. Need to use a named semaphore via sem_open() instead. */
(void)initialValue;
(void)pSemaphore;
return MA_INVALID_OPERATION;
return MA_INVALID_OPERATION;
#else
#else
if (sem_init(&pSemaphore->posix.semaphore, 0, (unsigned int)initialValue) == 0) {
if (sem_init(&pSemaphore->posix.semaphore, 0, (unsigned int)initialValue) == 0) {
...
@@ -22751,6 +22753,7 @@ static OSStatus ma_on_output__coreaudio(void* pUserData, AudioUnitRenderActionFl
...
@@ -22751,6 +22753,7 @@ static OSStatus ma_on_output__coreaudio(void* pUserData, AudioUnitRenderActionFl
(void)pActionFlags;
(void)pActionFlags;
(void)pTimeStamp;
(void)pTimeStamp;
(void)busNumber;
(void)busNumber;
(void)frameCount;
return noErr;
return noErr;
}
}
...
@@ -23019,7 +23022,10 @@ static OSStatus ma_default_device_changed__coreaudio(AudioObjectID objectID, UIn
...
@@ -23019,7 +23022,10 @@ static OSStatus ma_default_device_changed__coreaudio(AudioObjectID objectID, UIn
}
}
ma_mutex_unlock(&g_DeviceTrackingMutex_CoreAudio);
ma_mutex_unlock(&g_DeviceTrackingMutex_CoreAudio);
(void)objectID; /* Unused. */
/* Unused parameters. */
(void)objectID;
(void)pUserData;
return noErr;
return noErr;
}
}
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