mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-23 08:44:04 +02:00
Warning fixes.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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,
|
|||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user