/// <summary> /// Make sure a player is playing if it needs to but does not start it if it shouldn't. /// </summary> private void EnsurePlaying(int index) { if (!players[index].IsPlaying && !commonTimeline.IsOutOfBounds(players[index], currentTime)) { players[index].EnsurePlaying(); } }
private void SynchronizePlayer(PlayerScreen player) { if (!player.IsPlaying && !commonTimeline.IsOutOfBounds(player, currentTime)) { player.StartPlaying(); } }