vdr-plugin-softhddevice-drm-gles 1.5.9-20e15de
softhddevice.h File Reference

Device class header file. More...

#include <atomic>
#include <mutex>
#include <libavcodec/avcodec.h>
#include <vdr/device.h>
#include <vdr/osd.h>
#include "config.h"
#include "event.h"
#include "jittertracker.h"
#include "pes.h"

Go to the source code of this file.

Classes

struct  overload< Ts >
 
class  cSoftHdDevice
 

Enumerations

enum  State {
  STOP , BUFFERING , PLAY , TRICK_SPEED ,
  DETACHED
}
 
enum  PlaybackMode { NONE , AUDIO_AND_VIDEO , AUDIO_ONLY , VIDEO_ONLY }
 

Functions

template<class... Ts>
 overload (Ts...) -> overload< Ts... >
 
const char * EventToString (const Event &e)
 
const char * StateToString (State s)
 

Detailed Description

Device class header file.

Definition in file softhddevice.h.

Enumeration Type Documentation

◆ PlaybackMode

Enumerator
NONE 
AUDIO_AND_VIDEO 
AUDIO_ONLY 
VIDEO_ONLY 

Definition at line 87 of file softhddevice.h.

◆ State

enum State
Enumerator
STOP 
BUFFERING 
PLAY 
TRICK_SPEED 
DETACHED 

Definition at line 51 of file softhddevice.h.

Function Documentation

◆ EventToString()

const char * EventToString ( const Event e)
inline

Definition at line 59 of file softhddevice.h.

References AUDIO.

Referenced by cSoftHdDevice::OnEventReceived().

◆ overload()

template<class... Ts>
overload ( Ts...  ) -> overload< Ts... >

◆ StateToString()

const char * StateToString ( State  s)
inline

Definition at line 76 of file softhddevice.h.

References BUFFERING, DETACHED, PLAY, STOP, and TRICK_SPEED.

Referenced by cSoftHdDevice::OnEventReceived(), and cSoftHdDevice::SetState().