bool CApplicationPlayer::SetPlayerState(const std::string& state) { std::shared_ptr<IPlayer> player = GetInternal(); return (player && player->SetPlayerState(state)); }
bool CApplicationPlayer::CanSeek() { std::shared_ptr<IPlayer> player = GetInternal(); return (player && player->CanSeek()); }
void CApplicationPlayer::SeekTime(int64_t iTime) { std::shared_ptr<IPlayer> player = GetInternal(); if (player) player->SeekTime(iTime); }
void CApplicationPlayer::SetMute(bool bOnOff) { std::shared_ptr<IPlayer> player = GetInternal(); if (player) player->SetMute(bOnOff); }
void CApplicationPlayer::Seek(bool bPlus, bool bLargeStep, bool bChapterOverride) { std::shared_ptr<IPlayer> player = GetInternal(); if (player) player->Seek(bPlus, bLargeStep, bChapterOverride); }
bool CApplicationPlayer::HasPlayer() const { std::shared_ptr<IPlayer> player = GetInternal(); return player != NULL; }
void CApplicationPlayer::Pause() { std::shared_ptr<IPlayer> player = GetInternal(); if (player) player->Pause(); }
void CApplicationPlayer::AddSubtitle(const std::string& strSubPath) { std::shared_ptr<IPlayer> player = GetInternal(); if (player) player->AddSubtitle(strSubPath); }
void CApplicationPlayer::SetAVDelay(float fValue) { std::shared_ptr<IPlayer> player = GetInternal(); if (player) player->SetAVDelay(fValue); }
bool CApplicationPlayer::Record(bool bOnOff) { std::shared_ptr<IPlayer> player = GetInternal(); return (player && player->Record(bOnOff)); }
void CApplicationPlayer::GetSubtitleStreamInfo(int index, SPlayerSubtitleStreamInfo &info) { std::shared_ptr<IPlayer> player = GetInternal(); if (player) player->GetSubtitleStreamInfo(index, info); }
bool CApplicationPlayer::OnAction(const CAction &action) { std::shared_ptr<IPlayer> player = GetInternal(); return (player && player->OnAction(action)); }
void CApplicationPlayer::GetVideoStreamInfo(SPlayerVideoStreamInfo &info) { std::shared_ptr<IPlayer> player = GetInternal(); if (player) player->GetVideoStreamInfo(info); }
void CApplicationPlayer::OnNothingToQueueNotify() { std::shared_ptr<IPlayer> player = GetInternal(); if (player) player->OnNothingToQueueNotify(); }
void CApplicationPlayer::GetDeinterlaceModes(std::vector<int> &deinterlaceModes) { std::shared_ptr<IPlayer> player = GetInternal(); if (player) player->OMXGetDeinterlaceModes(deinterlaceModes); }
void CApplicationPlayer::SetDynamicRangeCompression(long drc) { std::shared_ptr<IPlayer> player = GetInternal(); if (player) player->SetDynamicRangeCompression(drc); }
void CApplicationPlayer::GetScalingMethods(std::vector<int> &scalingMethods) { std::shared_ptr<IPlayer> player = GetInternal(); if (player) player->OMXGetScalingMethods(scalingMethods); }
bool CApplicationPlayer::SwitchChannel(const PVR::CPVRChannelPtr &channel) { std::shared_ptr<IPlayer> player = GetInternal(); return (player && player->SwitchChannel(channel)); }
bool CApplicationPlayer::HasRDS() const { std::shared_ptr<IPlayer> player = GetInternal(); return (player && player->HasRDS()); }
void CApplicationPlayer::LoadPage(int p, int sp, unsigned char* buffer) { std::shared_ptr<IPlayer> player = GetInternal(); if (player) player->LoadPage(p, sp, buffer); }
bool CApplicationPlayer::ControlsVolume() const { std::shared_ptr<IPlayer> player = GetInternal(); return (player && player->ControlsVolume()); }
void CApplicationPlayer::GetAudioCapabilities(std::vector<int> &audioCaps) { std::shared_ptr<IPlayer> player = GetInternal(); if (player) player->GetAudioCapabilities(audioCaps); }
void CApplicationPlayer::SetVolume(float volume) { std::shared_ptr<IPlayer> player = GetInternal(); if (player) player->SetVolume(volume); }
void CApplicationPlayer::GetSubtitleCapabilities(std::vector<int> &subCaps) { std::shared_ptr<IPlayer> player = GetInternal(); if (player) player->GetSubtitleCapabilities(subCaps); }
void CApplicationPlayer::SeekPercentage(float fPercent) { std::shared_ptr<IPlayer> player = GetInternal(); if (player) player->SeekPercentage(fPercent); }
void CApplicationPlayer::GetGeneralInfo(std::string& strVideoInfo) { std::shared_ptr<IPlayer> player = GetInternal(); if (player) player->GetGeneralInfo(strVideoInfo); }
bool CApplicationPlayer::SeekScene(bool bPlus) { std::shared_ptr<IPlayer> player = GetInternal(); return (player && player->SeekScene(bPlus)); }
void CApplicationPlayer::GetRenderFeatures(std::vector<int> &renderFeatures) { std::shared_ptr<IPlayer> player = GetInternal(); if (player) player->OMXGetRenderFeatures(renderFeatures); }
bool CApplicationPlayer::IsInMenu() const { std::shared_ptr<IPlayer> player = GetInternal(); return (player && player->IsInMenu()); }
bool CApplicationPlayer::GetStreamDetails(CStreamDetails &details) { std::shared_ptr<IPlayer> player = GetInternal(); return (player && player->GetStreamDetails(details)); }