MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / Pause

Method Pause

TombEngine/Specific/Video/Video.cpp:327–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

325 }
326
327 bool VideoHandler::Pause()
328 {
329 if (_player == nullptr)
330 return false;
331
332 if (libvlc_media_player_get_state(_player) != libvlc_Paused)
333 {
334 libvlc_media_player_pause(_player);
335 HandleError();
336
337 return (_playbackMode == VideoPlaybackMode::Exclusive);
338 }
339
340 HandleError();
341 return false;
342 }
343
344 bool VideoHandler::Resume()
345 {

Callers 3

WinAppProcFunction · 0.80
CallPauseMethod · 0.80
CallInventoryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected