mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
Warning fixes.
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable:4244) /* conversion from 'x' to 'y', possible loss of data */
|
||||
#pragma warning(disable:4018) /* signed/unsigned mismatch */
|
||||
#pragma warning(disable:4706) /* assignment within conditional expression */
|
||||
#else
|
||||
#pragma GCC diagnostic push
|
||||
#endif
|
||||
|
||||
@@ -587,7 +587,7 @@ static ma_result ma_resampler_process__read(ma_resampler* pResampler, const void
|
||||
#endif
|
||||
}
|
||||
|
||||
default: return MA_INVALID_ARGS; /* Should never hit this. */
|
||||
default: break;
|
||||
}
|
||||
|
||||
/* Should never get here. */
|
||||
@@ -723,7 +723,7 @@ ma_uint64 ma_resampler_get_required_input_frame_count(ma_resampler* pResampler,
|
||||
case ma_resample_algorithm_speex:
|
||||
{
|
||||
#if defined(MA_HAS_SPEEX_RESAMPLER)
|
||||
/* TODO: Implement me. */
|
||||
return 0;
|
||||
#else
|
||||
break;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user