Commit ad615af1 authored by David Reid's avatar David Reid

Fix some warnings with GCC.

parent 3a34c049
......@@ -58015,6 +58015,13 @@ MA_API void ma_data_source_get_range_in_pcm_frames(const ma_data_source* pDataSo
{
const ma_data_source_base* pDataSourceBase = (const ma_data_source_base*)pDataSource;
if (pRangeBegInFrames != NULL) {
*pRangeBegInFrames = 0;
}
if (pRangeEndInFrames != NULL) {
*pRangeEndInFrames = 0;
}
if (pDataSource == NULL) {
return;
}
......@@ -58059,6 +58066,13 @@ MA_API void ma_data_source_get_loop_point_in_pcm_frames(const ma_data_source* pD
{
const ma_data_source_base* pDataSourceBase = (const ma_data_source_base*)pDataSource;
if (pLoopBegInFrames != NULL) {
*pLoopBegInFrames = 0;
}
if (pLoopEndInFrames != NULL) {
*pLoopEndInFrames = 0;
}
if (pDataSource == NULL) {
return;
}
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