Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Seeking #91

Open
Nuk510 opened this issue May 7, 2019 · 1 comment
Open

Seeking #91

Nuk510 opened this issue May 7, 2019 · 1 comment

Comments

@Nuk510
Copy link

Nuk510 commented May 7, 2019

From the feature list in the readme:

Option to take longer loading but seek fast to any point before the music first loops (seeking time increases beyond this point)

I can't figure out how to seek. I'm trying to add a button to my program to seek to the 0:00 mark (aka restart the song), but searching seek, rewind, restart, etc. in the source code doesn't reveal anything. If you have any notes on this, I'd very much appreciate it. Thank you!

@kode54
Copy link
Owner

kode54 commented May 14, 2019

You can’t really seek with sigrenderers after they’re created, except by brute force rendering with either silent volume and/or null buffer pointer. If you want fast seeking, you have to use the load time length scanner, and then you need to pass a start time other than zero when creating a sigrenderer.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants