Fix looping with data streams.

This commit is contained in:
David Reid
2020-06-14 17:24:15 +10:00
parent 50eb67f946
commit d4cdee82b5
2 changed files with 83 additions and 9 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ int main(int argc, char** argv)
return -1;
}
ma_data_source_seek_to_pcm_frame(sound.pDataSource, 5000000);
/*ma_data_source_seek_to_pcm_frame(sound.pDataSource, 5000000);*/
ma_engine_sound_set_volume(&engine, &sound, 0.25f);
ma_engine_sound_set_pitch(&engine, &sound, 1.0f);