Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CVideoSettingsLocked Class Reference

#include <VideoSettings.h>

Public Member Functions

 CVideoSettingsLocked (CVideoSettings &vs, CCriticalSection &critSection)
 
virtual ~CVideoSettingsLocked ()=default
 
 CVideoSettingsLocked (CVideoSettingsLocked const &)=delete
 
void operator= (CVideoSettingsLocked const &x)=delete
 
void SetSubtitleStream (int stream)
 
void SetSubtitleVisible (bool visible)
 
void SetAudioStream (int stream)
 
void SetVideoStream (int stream)
 
void SetAudioDelay (float delay)
 
void SetSubtitleDelay (float delay)
 
void SetSubtitleVerticalPosition (int value, bool save)
 Set the subtitle vertical position, it depends on current screen resolution.
 
void SetViewMode (int mode, float zoom, float par, float shift, bool stretch)
 
void SetVolumeAmplification (float amp)
 

Protected Attributes

CVideoSettingsm_videoSettings
 
CCriticalSection & m_critSection
 

Constructor & Destructor Documentation

◆ CVideoSettingsLocked() [1/2]

CVideoSettingsLocked::CVideoSettingsLocked ( CVideoSettings & vs,
CCriticalSection & critSection )

◆ ~CVideoSettingsLocked()

virtual CVideoSettingsLocked::~CVideoSettingsLocked ( )
virtualdefault

◆ CVideoSettingsLocked() [2/2]

CVideoSettingsLocked::CVideoSettingsLocked ( CVideoSettingsLocked const & )
delete

Member Function Documentation

◆ operator=()

void CVideoSettingsLocked::operator= ( CVideoSettingsLocked const & x)
delete

◆ SetAudioDelay()

void CVideoSettingsLocked::SetAudioDelay ( float delay)

◆ SetAudioStream()

void CVideoSettingsLocked::SetAudioStream ( int stream)

◆ SetSubtitleDelay()

void CVideoSettingsLocked::SetSubtitleDelay ( float delay)

◆ SetSubtitleStream()

void CVideoSettingsLocked::SetSubtitleStream ( int stream)

◆ SetSubtitleVerticalPosition()

void CVideoSettingsLocked::SetSubtitleVerticalPosition ( int value,
bool save )

Set the subtitle vertical position, it depends on current screen resolution.

Parameters
valueThe subtitle position in pixels
saveIf true, the value will be saved to resolution info

◆ SetSubtitleVisible()

void CVideoSettingsLocked::SetSubtitleVisible ( bool visible)

◆ SetVideoStream()

void CVideoSettingsLocked::SetVideoStream ( int stream)

◆ SetViewMode()

void CVideoSettingsLocked::SetViewMode ( int mode,
float zoom,
float par,
float shift,
bool stretch )

◆ SetVolumeAmplification()

void CVideoSettingsLocked::SetVolumeAmplification ( float amp)

Member Data Documentation

◆ m_critSection

CCriticalSection& CVideoSettingsLocked::m_critSection
protected

◆ m_videoSettings

CVideoSettings& CVideoSettingsLocked::m_videoSettings
protected

The documentation for this class was generated from the following files: