vdr-plugin-softhddevice-drm-gles 1.4.0
Public Member Functions | Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
cSoftHdPlayer Class Reference

#include <mediaplayer.h>

Collaboration diagram for cSoftHdPlayer:
Collaboration graph
[legend]

Public Member Functions

 cSoftHdPlayer (const char *, cSoftHdDevice *)
 
virtual ~cSoftHdPlayer ()
 
void SetEntry (int)
 
const char * GetTitle (void)
 

Public Attributes

struct PLEntryFirstEntry
 
struct PLEntryCurrentEntry
 
int Jump
 
int Pause
 
int StopPlay
 
int Random
 
int NoModify
 
int CurrentTime
 
int Duration
 

Protected Member Functions

virtual void Activate (bool On)
 
virtual void Action (void)
 

Private Member Functions

void Player (const char *)
 
void ReadPL (const char *)
 

Private Attributes

char * m_pSource
 
int m_Entries
 
cSoftHdDevicem_pDevice
 
cSoftHdAudiom_pAudio
 

Detailed Description

Definition at line 39 of file mediaplayer.h.

Constructor & Destructor Documentation

◆ cSoftHdPlayer()

cSoftHdPlayer::cSoftHdPlayer ( const char *  url,
cSoftHdDevice device 
)

◆ ~cSoftHdPlayer()

cSoftHdPlayer::~cSoftHdPlayer ( )
virtual

Definition at line 78 of file mediaplayer.cpp.

References FirstEntry, m_Entries, m_pSource, PLEntry::NextEntry, and StopPlay.

Member Function Documentation

◆ Action()

void cSoftHdPlayer::Action ( void  )
protectedvirtual

◆ Activate()

void cSoftHdPlayer::Activate ( bool  On)
protectedvirtual

Definition at line 94 of file mediaplayer.cpp.

◆ GetTitle()

const char * cSoftHdPlayer::GetTitle ( void  )

Definition at line 314 of file mediaplayer.cpp.

References CurrentEntry, m_pSource, and PLEntry::Path.

Referenced by cSoftHdControl::ShowProgress().

◆ Player()

void cSoftHdPlayer::Player ( const char *  url)
private

◆ ReadPL()

void cSoftHdPlayer::ReadPL ( const char *  Playlist)
private

◆ SetEntry()

void cSoftHdPlayer::SetEntry ( int  index)

Definition at line 176 of file mediaplayer.cpp.

References CurrentEntry, FirstEntry, PLEntry::NextEntry, NoModify, and StopPlay.

Referenced by Action(), and cSoftHdMenu::ProcessKey().

Member Data Documentation

◆ CurrentEntry

struct PLEntry* cSoftHdPlayer::CurrentEntry

Definition at line 56 of file mediaplayer.h.

Referenced by Action(), cSoftHdPlayer(), GetTitle(), cSoftHdMenu::PlayListMenu(), and SetEntry().

◆ CurrentTime

int cSoftHdPlayer::CurrentTime

Definition at line 64 of file mediaplayer.h.

Referenced by Player(), and cSoftHdControl::ShowProgress().

◆ Duration

int cSoftHdPlayer::Duration

Definition at line 65 of file mediaplayer.h.

Referenced by Player(), and cSoftHdControl::ShowProgress().

◆ FirstEntry

struct PLEntry* cSoftHdPlayer::FirstEntry

◆ Jump

int cSoftHdPlayer::Jump

Definition at line 59 of file mediaplayer.h.

Referenced by Action(), Player(), cSoftHdControl::ProcessKey(), and cSoftHdMenu::ProcessKey().

◆ m_Entries

int cSoftHdPlayer::m_Entries
private

Definition at line 46 of file mediaplayer.h.

Referenced by Action(), ReadPL(), and ~cSoftHdPlayer().

◆ m_pAudio

cSoftHdAudio* cSoftHdPlayer::m_pAudio
private

Definition at line 48 of file mediaplayer.h.

Referenced by Action(), cSoftHdPlayer(), and Player().

◆ m_pDevice

cSoftHdDevice* cSoftHdPlayer::m_pDevice
private

Definition at line 47 of file mediaplayer.h.

Referenced by cSoftHdPlayer(), and Player().

◆ m_pSource

char* cSoftHdPlayer::m_pSource
private

Definition at line 45 of file mediaplayer.h.

Referenced by Action(), cSoftHdPlayer(), GetTitle(), and ~cSoftHdPlayer().

◆ NoModify

int cSoftHdPlayer::NoModify

Definition at line 63 of file mediaplayer.h.

Referenced by Action(), and SetEntry().

◆ Pause

int cSoftHdPlayer::Pause

Definition at line 60 of file mediaplayer.h.

Referenced by cSoftHdPlayer(), Player(), and cSoftHdControl::ProcessKey().

◆ Random

int cSoftHdPlayer::Random

Definition at line 62 of file mediaplayer.h.

Referenced by Action(), cSoftHdPlayer(), and cSoftHdMenu::ProcessKey().

◆ StopPlay

int cSoftHdPlayer::StopPlay

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