mackron / miniaudio

Audio playback and capture library written in C, in a single source file.
https://miniaud.io
Other
4.07k stars 361 forks source link

Restart sound on ma_engine #516

Closed wini3d closed 2 years ago

wini3d commented 2 years ago

Is there a function in the ma_engine or high level API where I can restart an assigned ma_sound after ma_sound_stop?

It continues where it left off each time I do ma_sound_start.

I already figured this out with the low level API with the previous issue here: https://github.com/mackron/miniaudio/issues/130

wini3d commented 2 years ago

I found it ma_sound_seek_to_pcm_frame, closing.