MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Player_Stop

Method Player_Stop

Source/Engine/Video/AV/VideoBackendAV.cpp:243–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241}
242
243void VideoBackendAV::Player_Stop(VideoBackendPlayer& player)
244{
245 PROFILE_CPU();
246 auto& playerAV = player.GetBackendState<VideoPlayerAV>();
247 playerAV.PendingPlay = false;
248 playerAV.PendingPause = true;
249 playerAV.PendingSeek = true;
250 playerAV.SeekTime = TimeSpan::Zero();
251 player.StopAudio();
252}
253
254void VideoBackendAV::Player_Seek(VideoBackendPlayer& player, TimeSpan time)
255{

Callers

nothing calls this directly

Calls 1

StopAudioMethod · 0.80

Tested by

no test coverage detected