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
4ebfb458
Commit
4ebfb458
authored
Dec 03, 2020
by
David Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some dead store warnings.
parent
8669f200
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
research/miniaudio_engine.h
research/miniaudio_engine.h
+1
-2
No files found.
research/miniaudio_engine.h
View file @
4ebfb458
...
...
@@ -3155,7 +3155,6 @@ MA_API ma_result ma_mixer_begin(ma_mixer* pMixer, ma_mixer* pParentMixer, ma_uin
if
(
pParentMixer
!=
NULL
)
{
/* The output frame count must match the input frame count of the parent. If this cannot be accommodated we need to fail. */
frameCountOut
=
pParentMixer
->
mixingState
.
frameCountIn
;
frameCountIn
=
frameCountOut
;
}
else
{
if
(
pFrameCountOut
==
NULL
)
{
return
MA_INVALID_ARGS
;
/* The desired output frame count is required for a root level mixer. */
...
...
@@ -3421,7 +3420,7 @@ static ma_result ma_mixer_mix_data_source_read(ma_mixer* pMixer, ma_data_source*
ma_uint8
preMixBuffer
[
MA_DATA_CONVERTER_STACK_BUFFER_SIZE
];
ma_uint32
preMixBufferCap
;
ma_uint64
totalFramesProcessed
=
0
;
void
*
pRunningAccumulationBuffer
=
pMixer
->
pAccumulationBuffer
;
void
*
pRunningAccumulationBuffer
;
ma_format
effectFormatIn
=
ma_format_unknown
;
ma_uint32
effectChannelsIn
=
0
;
ma_format
preMixFormat
=
ma_format_unknown
;
...
...
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