Commit 32ca32eb authored by jongwoon-100's avatar jongwoon-100 Committed by David Reid

Fix some compile warnings in iOS

parent e099d66d
...@@ -50179,6 +50179,7 @@ MA_API ma_result ma_resampler_init(const ma_resampler_config* pConfig, const ma_ ...@@ -50179,6 +50179,7 @@ MA_API ma_result ma_resampler_init(const ma_resampler_config* pConfig, const ma_
result = ma_resampler_init_preallocated(pConfig, pHeap, pResampler); result = ma_resampler_init_preallocated(pConfig, pHeap, pResampler);
if (result != MA_SUCCESS) { if (result != MA_SUCCESS) {
ma_free(pHeap, pAllocationCallbacks);
return result; return result;
} }
...@@ -60286,6 +60287,7 @@ static ma_result ma_mp3_generate_seek_table(ma_mp3* pMP3, const ma_decoding_back ...@@ -60286,6 +60287,7 @@ static ma_result ma_mp3_generate_seek_table(ma_mp3* pMP3, const ma_decoding_back
mp3Result = drmp3_calculate_seek_points(&pMP3->dr, &seekPointCount, pSeekPoints); mp3Result = drmp3_calculate_seek_points(&pMP3->dr, &seekPointCount, pSeekPoints);
if (mp3Result != MA_TRUE) { if (mp3Result != MA_TRUE) {
ma_free(pSeekPoints, pAllocationCallbacks);
return MA_ERROR; return MA_ERROR;
} }
...@@ -81453,7 +81455,7 @@ static drflac_bool32 drflac__decode_samples_with_residual__rice__neon_32(drflac_ ...@@ -81453,7 +81455,7 @@ static drflac_bool32 drflac__decode_samples_with_residual__rice__neon_32(drflac_
int32x2_t shift64; int32x2_t shift64;
uint32x4_t one128; uint32x4_t one128;
const drflac_uint32 t[2] = {0x00000000, 0xFFFFFFFF}; const drflac_uint32 t[2] = {0x00000000, 0xFFFFFFFF};
riceParamMask = ~((~0UL) << riceParam); riceParamMask = (drflac_uint32)~((~0UL) << riceParam);
riceParamMask128 = vdupq_n_u32(riceParamMask); riceParamMask128 = vdupq_n_u32(riceParamMask);
riceParam128 = vdupq_n_s32(riceParam); riceParam128 = vdupq_n_s32(riceParam);
shift64 = vdup_n_s32(-shift); shift64 = vdup_n_s32(-shift);
...@@ -81594,7 +81596,7 @@ static drflac_bool32 drflac__decode_samples_with_residual__rice__neon_64(drflac_ ...@@ -81594,7 +81596,7 @@ static drflac_bool32 drflac__decode_samples_with_residual__rice__neon_64(drflac_
int64x1_t shift64; int64x1_t shift64;
uint32x4_t one128; uint32x4_t one128;
const drflac_uint32 t[2] = {0x00000000, 0xFFFFFFFF}; const drflac_uint32 t[2] = {0x00000000, 0xFFFFFFFF};
riceParamMask = ~((~0UL) << riceParam); riceParamMask = (drflac_uint32)~((~0UL) << riceParam);
riceParamMask128 = vdupq_n_u32(riceParamMask); riceParamMask128 = vdupq_n_u32(riceParamMask);
riceParam128 = vdupq_n_s32(riceParam); riceParam128 = vdupq_n_s32(riceParam);
shift64 = vdup_n_s64(-shift); shift64 = vdup_n_s64(-shift);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment