为什么tmediaplayer.CurrentTime不适用于Android?

问题描述 投票:0回答:1

我想用tackBar制作控制音频我用这个代码播放音频时,我在计时器上的代码为

If trackbar1.max<>mediaplayer1.duration then 
  trackbar1.max := mediaplayer1.duration;

If trackbar1.value<>mediaplayer1.currentTime then 
  trackbar1.value :=mediaplayer1.currentTime

此代码在Windows上非常有效,但在Android上则没有(跟踪栏会不断地上下移动)

firemonkey android-music-player audiotrack trackbar delphi-10.3-rio
1个回答
0
投票
    这是一个错误(RSP-19678)。
  1. 您可能会从this repository获得修复。

© www.soinside.com 2019 - 2024. All rights reserved.