mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-21 15:56:58 +02:00
Fix some warnings with GCC.
This commit is contained in:
+14
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user