| 271 | } |
| 272 | |
| 273 | bool FMODPlayer::JumpToTimeMs(uint32_t time) |
| 274 | { |
| 275 | SCE_DBG_LOG_INFO("[JumpToTimeMs] Jump to seconds: %u\n", time / 1000); |
| 276 | uint32_t total = GetTotalTimeMs(); |
| 277 | if (time >= total) |
| 278 | { |
| 279 | m_ch->stop(); |
| 280 | return true; |
| 281 | } |
| 282 | return (m_ch->setPosition(time, FMOD_TIMEUNIT_MS) == FMOD_OK); |
| 283 | } |
| 284 | |
| 285 | GenericPlayer::PlayerState FMODPlayer::GetState() |
| 286 | { |
nothing calls this directly
no outgoing calls
no test coverage detected