문제

I'm creating an app for playing a ringtone and I'd want to know the current time in milliseconds of the played ringtone every time.

CMTime cTime = player_.currentTime; float currentTime = cTime.value / cTime.timescale;

That currentTime here gets the value in seconds. How can I get the exact currentTime value but in milliseconds?

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top