When calling getOffset()
I keep getting incorrect results when drawing text to the screen or logging to the console but when I use this function to control the width of a rectangle being drawn it works just fine. When printed to the console it starts by printing some big negative or positive number (shouldn't this number be unsigned), then when a audio file starts playing it becomes 4 and stays as 4. When drawn to the screen it just stays as the initial large positive or negative number. Some example code can be found in this thread where I initially posted this issue: How do I detect progress through fileplayer?