Hosted Forums => foobar2000 => Development - (fb2k) => Topic started by: sammoth on 2020-09-23 23:53:53

Title: SDK request: thread safe access to playback time
Post by: sammoth on 2020-09-23 23:53:53
Hi, would it be possible to get a way to access the playback time from any thread? It seems like compared to the rest of the things in playback_control it shouldn't be problematic. At the moment I'm using the vis timer as a workaround but it's kind of hacky. 90% of the time it works but sometimes fails on problematic files which are slow or inaccurate to seek in, or something.
SimplePortal 1.0.0 RC1 © 2008-2021