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
When using AudioStreamPlayer and setting the stream playback in code, you must use play() to begin playing the file before you seek to a position, or else you'll always play at the beginning. If you set the stream in the AudioStreamPlayer inspector, you may seek() before using play() and it'll work fine.
Godot version
3.3.3 stable
System information
Windows 7 64-bit
Issue description
When using AudioStreamPlayer and setting the stream playback in code, you must use play() to begin playing the file before you seek to a position, or else you'll always play at the beginning. If you set the stream in the AudioStreamPlayer inspector, you may seek() before using play() and it'll work fine.
Steps to reproduce
This will print 0 every time, however:
This will print the playback position at a random time.
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: