jarikomppa / soloud

Free, easy, portable audio engine for games
http://soloud-audio.com
Other
1.76k stars 276 forks source link

Use stb_vorbis_seek for seeking OGG sources #311

Closed ghost closed 2 years ago

ghost commented 3 years ago

This PR adds WavStreamInstance::seek and uses stb_vorbis_seek if it is an OGG source. This partially addresses #156.

ghost commented 3 years ago

Going to convert this into a draft until I fully understand what each field does in AudioSourceInstance. I can already see I'm changing the wrong ones.

jarikomppa commented 2 years ago

Merged by hand.