mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-24 01:04:02 +02:00
Add ma_engine_sound_seek_to_pcm_frame().
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user