Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果有任何解决方案如何修复媒体播放器。Android 上的当前时间(Rad studio 10.3.2)?值不正确(有时为负值),在 Windows 上工作正常
没关系,我修改了 FMX.Media.Android.pas 中的以下代码来修复它。似乎 Embarcadero 并没有为几个版本修复它。
Result := Round(TMediaTime(FPlayer.getCurrentPosition) * MediaTimeScale / MSecsPerSec);