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
press play
Qt multimedia will load the song and we will tell it to go to a certain positoin and play
But because of reasons Qt loads the song async and we can't set the position as soon as the song exists
If we pause and press play again it WILL set the position correctly because the second call DOES get honored by Qt
The robust thing to do is probably:
Check if song is seekable directly after load
If not: start a looping timer that will check again after N milliseconds
If seekable: stop the timer and set position to current time (Song needs to know about Timer for this)
The text was updated successfully, but these errors were encountered:
If we:
Qt multimedia will load the song and we will tell it to go to a certain positoin and play
But because of reasons Qt loads the song async and we can't set the position as soon as the song exists
If we pause and press play again it WILL set the position correctly because the second call DOES get honored by Qt
The robust thing to do is probably:
The text was updated successfully, but these errors were encountered: