Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <VideoPlayerAudio.h>
Classes | |
struct | SInfo |
Public Member Functions | |
CVideoPlayerAudio (CDVDClock *pClock, CDVDMessageQueue &parent, CProcessInfo &processInfo, double messageQueueTimeSize) | |
~CVideoPlayerAudio () override | |
bool | OpenStream (CDVDStreamInfo hints) override |
void | CloseStream (bool bWaitForBuffers) override |
void | SetSpeed (int speed) override |
void | Flush (bool sync) override |
bool | AcceptsData () const override |
bool | HasData () const override |
int | GetLevel () const override |
bool | IsInited () const override |
void | SendMessage (std::shared_ptr< CDVDMsg > pMsg, int priority=0) override |
void | FlushMessages () override |
void | SetDynamicRangeCompression (long drc) override |
float | GetDynamicRangeAmplification () const override |
std::string | GetPlayerInfo () override |
int | GetAudioChannels () override |
double | GetCurrentPts () override |
bool | IsStalled () const override |
bool | IsPassthrough () const override |
Public Member Functions inherited from CThread | |
CThread (IRunnable *pRunnable, const char *ThreadName) | |
virtual | ~CThread () |
void | Create (bool bAutoDelete=false) |
template<typename Rep , typename Period > | |
void | Sleep (std::chrono::duration< Rep, Period > duration) |
bool | IsAutoDelete () const |
virtual void | StopThread (bool bWait=true) |
bool | IsRunning () const |
bool | IsCurrentThread () const |
bool | Join (std::chrono::milliseconds duration) |
bool | SetPriority (const ThreadPriority &priority) |
Set the threads priority. This uses the platforms native threading library to do so. | |
virtual void | OnException () |
Public Member Functions inherited from IDVDStreamPlayerAudio | |
IDVDStreamPlayerAudio (CProcessInfo &processInfo) | |
~IDVDStreamPlayerAudio () override=default | |
virtual void | SetVolume (float fVolume) |
virtual void | SetMute (bool bOnOff) |
virtual bool | IsEOS () |
Public Member Functions inherited from IDVDStreamPlayer | |
IDVDStreamPlayer (CProcessInfo &processInfo) | |
virtual | ~IDVDStreamPlayer ()=default |
Protected Member Functions | |
void | OnStartup () override |
void | OnExit () override |
void | Process () override |
bool | ProcessDecoderOutput (DVDAudioFrame &audioframe) |
void | UpdatePlayerInfo () |
void | OpenStream (CDVDStreamInfo &hints, std::unique_ptr< CDVDAudioCodec > codec) |
bool | SwitchCodecIfNeeded () |
void | SetSyncType (bool passthrough) |
Protected Member Functions inherited from CThread | |
CThread (const char *ThreadName) | |
WaitResponse | AbortableWait (CEvent &event, std::chrono::milliseconds duration=std::chrono::milliseconds(-1)) |
Protected Attributes | |
CDVDMessageQueue | m_messageQueue |
CDVDMessageQueue & | m_messageParent |
CDVDStreamInfo | m_streaminfo |
double | m_audioClock |
CAudioSinkAE | m_audioSink |
CDVDClock * | m_pClock |
std::unique_ptr< CDVDAudioCodec > | m_pAudioCodec |
BitstreamStats | m_audioStats |
int | m_speed |
bool | m_stalled |
bool | m_paused |
IDVDStreamPlayer::ESyncState | m_syncState |
XbmcThreads::EndTime | m_syncTimer |
int | m_synctype |
int | m_prevsynctype |
bool | m_prevskipped |
double | m_maxspeedadjust |
CCriticalSection | m_info_section |
SInfo | m_info |
bool | m_displayReset = false |
unsigned int | m_disconAdjustTimeMs = 50 |
int | m_disconAdjustCounter = 0 |
Protected Attributes inherited from CThread | |
std::atomic< bool > | m_bStop |
Protected Attributes inherited from IDVDStreamPlayer | |
CProcessInfo & | m_processInfo |
Additional Inherited Members | |
Public Types inherited from IDVDStreamPlayer | |
enum | ESyncState { SYNC_STARTING , SYNC_WAITSYNC , SYNC_INSYNC } |
Static Public Member Functions inherited from CThread | |
static const std::thread::id | GetCurrentThreadId () |
static CThread * | GetCurrentThread () |
Protected Types inherited from CThread | |
enum | WaitResponse { WAIT_INTERRUPTED = -1 , WAIT_SIGNALED = 0 , WAIT_TIMEDOUT = 1 } |
CVideoPlayerAudio::CVideoPlayerAudio | ( | CDVDClock * | pClock, |
CDVDMessageQueue & | parent, | ||
CProcessInfo & | processInfo, | ||
double | messageQueueTimeSize ) |
|
override |
|
overridevirtual |
Implements IDVDStreamPlayerAudio.
Implements IDVDStreamPlayerAudio.
Implements IDVDStreamPlayerAudio.
|
inlineoverridevirtual |
Implements IDVDStreamPlayer.
|
overridevirtual |
Implements IDVDStreamPlayerAudio.
|
inlineoverridevirtual |
Implements IDVDStreamPlayerAudio.
|
inlineoverridevirtual |
Implements IDVDStreamPlayerAudio.
|
inlineoverridevirtual |
Implements IDVDStreamPlayerAudio.
|
overridevirtual |
Implements IDVDStreamPlayerAudio.
|
inlineoverridevirtual |
Implements IDVDStreamPlayerAudio.
|
inlineoverridevirtual |
Implements IDVDStreamPlayerAudio.
|
overridevirtual |
Implements IDVDStreamPlayerAudio.
|
inlineoverridevirtual |
Implements IDVDStreamPlayerAudio.
|
protected |
|
overridevirtual |
Implements IDVDStreamPlayerAudio.
|
protected |
|
inlineoverridevirtual |
Implements IDVDStreamPlayerAudio.
|
inlineoverridevirtual |
Implements IDVDStreamPlayerAudio.
Implements IDVDStreamPlayerAudio.
|
protected |
Switch codec if needed. Called when the sample rate gotten from the codec changes, in which case we may want to switch passthrough on/off.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
mutableprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |