Commit 2d43f4d0 authored by David Reid's avatar David Reid

Add support for data sources without support for seeking.

parent 9be681b8
......@@ -12261,7 +12261,7 @@ MA_API ma_result ma_sound_start(ma_sound* pSound)
/* If the sound is at the end it means we want to start from the start again. */
if (ma_sound_at_end(pSound)) {
ma_result result = ma_data_source_seek_to_pcm_frame(pSound->pDataSource, 0);
if (result != MA_SUCCESS) {
if (result != MA_SUCCESS && result != MA_NOT_IMPLEMENTED) {
return result; /* Failed to seek back to the start. */
}
......
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