Add ma_engine_sound_seek_to_pcm_frame().

This commit is contained in:
David Reid
2020-08-09 08:37:35 +10:00
parent 76a43426de
commit 0672f3043a
2 changed files with 35 additions and 0 deletions
+2
View File
@@ -41,6 +41,8 @@ int main(int argc, char** argv)
ma_engine_sound_set_looping(&engine, &sound, MA_TRUE);
ma_engine_sound_start(&engine, &sound, 4000);
ma_engine_sound_seek_to_pcm_frame(&engine, &sound, 1000000);
ma_sleep(5000);
ma_engine_sound_stop(&engine, &sound, 4000);
#endif