mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
Fix a bug in ma_data_source_get_cursor/length_in_pcm_frames().
This commit is contained in:
+2
-2
@@ -41327,7 +41327,7 @@ MA_API ma_result ma_data_source_get_cursor_in_pcm_frames(ma_data_source* pDataSo
|
||||
return MA_INVALID_ARGS;
|
||||
}
|
||||
|
||||
pCursor = 0;
|
||||
*pCursor = 0;
|
||||
|
||||
if (pCallbacks == NULL) {
|
||||
return MA_INVALID_ARGS;
|
||||
@@ -41348,7 +41348,7 @@ MA_API ma_result ma_data_source_get_length_in_pcm_frames(ma_data_source* pDataSo
|
||||
return MA_INVALID_ARGS;
|
||||
}
|
||||
|
||||
pLength = 0;
|
||||
*pLength = 0;
|
||||
|
||||
if (pCallbacks == NULL) {
|
||||
return MA_INVALID_ARGS;
|
||||
|
||||
Reference in New Issue
Block a user