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
6894d10d
Commit
6894d10d
authored
Jan 19, 2020
by
David Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Warning fixes.
parent
31086c5d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
extras/speex_resampler/ma_speex_resampler.h
extras/speex_resampler/ma_speex_resampler.h
+1
-0
research/ma_resampler.h
research/ma_resampler.h
+2
-2
No files found.
extras/speex_resampler/ma_speex_resampler.h
View file @
6894d10d
...
@@ -13,6 +13,7 @@
...
@@ -13,6 +13,7 @@
#pragma warning(push)
#pragma warning(push)
#pragma warning(disable:4244)
/* conversion from 'x' to 'y', possible loss of data */
#pragma warning(disable:4244)
/* conversion from 'x' to 'y', possible loss of data */
#pragma warning(disable:4018)
/* signed/unsigned mismatch */
#pragma warning(disable:4018)
/* signed/unsigned mismatch */
#pragma warning(disable:4706)
/* assignment within conditional expression */
#else
#else
#pragma GCC diagnostic push
#pragma GCC diagnostic push
#endif
#endif
...
...
research/ma_resampler.h
View file @
6894d10d
...
@@ -587,7 +587,7 @@ static ma_result ma_resampler_process__read(ma_resampler* pResampler, const void
...
@@ -587,7 +587,7 @@ static ma_result ma_resampler_process__read(ma_resampler* pResampler, const void
#endif
#endif
}
}
default:
return
MA_INVALID_ARGS
;
/* Should never hit this. */
default:
break
;
}
}
/* Should never get here. */
/* Should never get here. */
...
@@ -723,7 +723,7 @@ ma_uint64 ma_resampler_get_required_input_frame_count(ma_resampler* pResampler,
...
@@ -723,7 +723,7 @@ ma_uint64 ma_resampler_get_required_input_frame_count(ma_resampler* pResampler,
case
ma_resample_algorithm_speex
:
case
ma_resample_algorithm_speex
:
{
{
#if defined(MA_HAS_SPEEX_RESAMPLER)
#if defined(MA_HAS_SPEEX_RESAMPLER)
/* TODO: Implement me. */
return
0
;
#else
#else
break
;
break
;
#endif
#endif
...
...
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