You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Go version: go1.23.3 linux/amd64
Go-SDL2 version: v0.5.0-alpha.6.0.20240902114001-f9a623944236
SDL2 version: 2.30.9
OS: Arch Linux
Architecture: x86_64
Maybe I'm blind, it is kinda late here, but I've been trying to figure out how to get the length / duration of a loaded mix.Music audiofile.
In C SDL2 there seems to be both a Mix_MusicDuration and a Mix_GetMusicLoopLengthTime which both would help me in what I'm trying to do, but I can't seem to find them neither in the documentation nor in the code?
I've seen the LengthInMs function for chunks, but I don't know if that's what I need, I suppose I'd then have to loop through all the chunks just to calculate the length?
Is there some other way I'm missing?
The text was updated successfully, but these errors were encountered:
I could make a pull request for this, but I notice there are a lot of other missing ones and the documentation links are outdated - do you want me to clean up a bit and add the remaining functions?
Go version: go1.23.3 linux/amd64
Go-SDL2 version: v0.5.0-alpha.6.0.20240902114001-f9a623944236
SDL2 version: 2.30.9
OS: Arch Linux
Architecture: x86_64
Maybe I'm blind, it is kinda late here, but I've been trying to figure out how to get the length / duration of a loaded mix.Music audiofile.
In C SDL2 there seems to be both a Mix_MusicDuration and a Mix_GetMusicLoopLengthTime which both would help me in what I'm trying to do, but I can't seem to find them neither in the documentation nor in the code?
I've seen the LengthInMs function for chunks, but I don't know if that's what I need, I suppose I'd then have to loop through all the chunks just to calculate the length?
Is there some other way I'm missing?
The text was updated successfully, but these errors were encountered: