| 43 | } |
| 44 | |
| 45 | int EmptyAudio::BGM_GetTicks() const { |
| 46 | if (!playing) { |
| 47 | return 0; |
| 48 | } |
| 49 | |
| 50 | // Time since BGM_Play was called, works for everything except MIDI |
| 51 | return (Player::GetFrames() - bgm_starttick + 1) / Game_Clock::GetTargetGameFps(); |
| 52 | } |
| 53 | |
| 54 | void EmptyAudio::vGetConfig(Game_ConfigAudio&) const { |
| 55 | // Not supported. The audio menu is disabled. |
no outgoing calls
no test coverage detected