Commit 1d17b09e authored by David Reid's avatar David Reid

Fix an error in ma_sound_get_cursor_in_pcm_frames().

parent 39a7cc44
...@@ -76809,6 +76809,7 @@ MA_API ma_result ma_sound_get_cursor_in_pcm_frames(ma_sound* pSound, ma_uint64* ...@@ -76809,6 +76809,7 @@ MA_API ma_result ma_sound_get_cursor_in_pcm_frames(ma_sound* pSound, ma_uint64*
seekTarget = ma_atomic_load_64(&pSound->seekTarget); seekTarget = ma_atomic_load_64(&pSound->seekTarget);
if (seekTarget != MA_SEEK_TARGET_NONE) { if (seekTarget != MA_SEEK_TARGET_NONE) {
*pCursor = seekTarget; *pCursor = seekTarget;
return MA_SUCCESS;
} else { } else {
return ma_data_source_get_cursor_in_pcm_frames(pSound->pDataSource, pCursor); return ma_data_source_get_cursor_in_pcm_frames(pSound->pDataSource, pCursor);
} }
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