|
vdr-plugin-softhddevice-drm-gles 1.6.2
|
Media Player. More...
#include <mediaplayer.h>
Public Member Functions | |
| cSoftHdPlayer (const char *, cSoftHdDevice *) | |
| Create a new player for a file or playlist. | |
| virtual | ~cSoftHdPlayer () |
| void | SetEntry (int) |
| Set the current entry to play. | |
| const char * | GetSource (void) |
| void | JumpSec (int seconds) |
| void | Pause (bool pause) |
| bool | IsPaused (void) |
| void | Stop (void) |
| void | ToggleRandomPlay (void) |
| bool | IsRandomPlayActive (void) |
| int | GetCurrentTime (void) |
| int | GetDuration (void) |
| cPlaylistEntry * | GetFirstPlaylistEntry (void) |
| cPlaylistEntry * | GetCurrentPlaylistEntry (void) |
Protected Member Functions | |
| virtual void | Activate (bool On) |
| Start player thread. | |
| virtual void | Action (void) |
| Main thread action which invokes replay start. | |
Private Member Functions | |
| void | Play (const char *) |
| Play a file. | |
| void | ReadPlaylist (const char *) |
| Read the playlist file. | |
Private Attributes | |
| cPlaylistEntry * | m_pFirstEntry = nullptr |
| cPlaylistEntry * | m_pCurrentEntry = nullptr |
| char * | m_pSource |
| int | m_entries |
| cSoftHdDevice * | m_pDevice |
| cSoftHdAudio * | m_pAudio |
| std::atomic< int > | m_jumpSec = 0 |
| std::atomic< bool > | m_paused = false |
| std::atomic< bool > | m_stopped = false |
| std::atomic< bool > | m_random = false |
| bool | m_noModify = false |
| int | m_currentTime = 0 |
| int | m_duration = 0 |
|
inline |
Definition at line 71 of file mediaplayer.h.
References m_pCurrentEntry.
Definition at line 68 of file mediaplayer.h.
References m_currentTime.
Definition at line 69 of file mediaplayer.h.
References m_duration.
|
inline |
Definition at line 70 of file mediaplayer.h.
References m_pFirstEntry.
Definition at line 60 of file mediaplayer.h.
References m_pSource.
Definition at line 64 of file mediaplayer.h.
References m_paused.
Definition at line 67 of file mediaplayer.h.
References m_random.
Definition at line 62 of file mediaplayer.h.
References m_jumpSec.
Definition at line 63 of file mediaplayer.h.
References m_paused.
Definition at line 65 of file mediaplayer.h.
References m_stopped.
Definition at line 66 of file mediaplayer.h.
References m_random.
|
private |
Definition at line 93 of file mediaplayer.h.
Referenced by GetCurrentTime(), and Play().
|
private |
Definition at line 94 of file mediaplayer.h.
Referenced by GetDuration(), and Play().
|
private |
Definition at line 85 of file mediaplayer.h.
Referenced by Action(), ReadPlaylist(), and ~cSoftHdPlayer().
|
private |
Definition at line 88 of file mediaplayer.h.
Definition at line 92 of file mediaplayer.h.
Referenced by Action(), and SetEntry().
|
private |
Definition at line 87 of file mediaplayer.h.
Definition at line 89 of file mediaplayer.h.
Referenced by IsPaused(), Pause(), and Play().
|
private |
Definition at line 82 of file mediaplayer.h.
Referenced by Action(), cSoftHdPlayer(), GetCurrentPlaylistEntry(), and SetEntry().
|
private |
Definition at line 86 of file mediaplayer.h.
Referenced by Play().
|
private |
Definition at line 81 of file mediaplayer.h.
Referenced by cSoftHdPlayer(), GetFirstPlaylistEntry(), ReadPlaylist(), SetEntry(), and ~cSoftHdPlayer().
|
private |
Definition at line 84 of file mediaplayer.h.
Referenced by Action(), cSoftHdPlayer(), GetSource(), and ~cSoftHdPlayer().
Definition at line 91 of file mediaplayer.h.
Referenced by Action(), IsRandomPlayActive(), and ToggleRandomPlay().
Definition at line 90 of file mediaplayer.h.
Referenced by Play(), SetEntry(), Stop(), and ~cSoftHdPlayer().