Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
SoundChannel:getPosition() on UWP — Gideros Forum

SoundChannel:getPosition() on UWP

I'm seeing odd behavior on UWP in which SoundChannel:getPosition() always returns a number in milliseconds representing an integer number of seconds. That is, it returns 1000 for one second, then 2000 for one second, etc. I'm seeing this in Gideros 2021.1. I haven't tried in other versions as it's the one version I currently have installed that will export UWP projects that link.

Any suggestions?

I'm currently exploring workarounds using os.clock() to add the correct number of milliseconds, or close to it.



Sign In or Register to comment.