![]() |
Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
|
#include <OMXPlayerAudio.h>
Public Member Functions | |
OMXPlayerAudio (OMXClock *av_clock, CDVDMessageQueue &parent, CProcessInfo &processInfo) | |
~OMXPlayerAudio () | |
bool | OpenStream (CDVDStreamInfo hints) override |
void | SendMessage (CDVDMsg *pMsg, int priority=0) override |
void | FlushMessages () override |
bool | AcceptsData () const override |
bool | HasData () const override |
bool | IsInited () const override |
int | GetLevel () const override |
bool | IsStalled () const override |
bool | IsEOS () override |
void | CloseStream (bool bWaitForBuffers) override |
bool | CodecChange () |
bool | Decode (DemuxPacket *pkt, bool bDropPacket, bool bTrickPlay) |
void | Flush (bool sync) override |
AEAudioFormat | GetDataFormat (CDVDStreamInfo hints) |
bool | IsPassthrough () const override |
bool | OpenDecoder () |
void | CloseDecoder () |
double | GetCurrentPts () override |
void | SubmitEOS () |
void | SetVolume (float fVolume) override |
void | SetMute (bool bOnOff) override |
void | SetDynamicRangeCompression (long drc) override |
float | GetDynamicRangeAmplification () const override |
void | SetSpeed (int iSpeed) override |
int | GetAudioChannels () override |
std::string | GetPlayerInfo () override |
![]() | |
CThread (IRunnable *pRunnable, const char *ThreadName) | |
virtual | ~CThread () |
void | Create (bool bAutoDelete=false, unsigned stacksize=0) |
void | Sleep (unsigned int milliseconds) |
int | GetSchedRRPriority (void) |
bool | SetPrioritySched_RR (int iPriority) |
bool | IsAutoDelete () const |
virtual void | StopThread (bool bWait=true) |
bool | IsRunning () const |
bool | IsCurrentThread () const |
int | GetMinPriority (void) |
int | GetMaxPriority (void) |
int | GetNormalPriority (void) |
int | GetPriority (void) |
bool | SetPriority (const int iPriority) |
bool | WaitForThreadExit (unsigned int milliseconds) |
float | GetRelativeUsage () |
int64_t | GetAbsoluteUsage () |
virtual void | OnException () |
![]() | |
IDVDStreamPlayerAudio (CProcessInfo &processInfo) | |
~IDVDStreamPlayerAudio () override=default | |
![]() | |
IDVDStreamPlayer (CProcessInfo &processInfo) | |
virtual | ~IDVDStreamPlayer ()=default |
Protected Member Functions | |
virtual void | OnStartup () |
virtual void | OnExit () |
virtual void | Process () |
void | OpenStream (CDVDStreamInfo &hints, COMXAudioCodecOMX *codec) |
![]() | |
CThread (const char *ThreadName) | |
WaitResponse | AbortableWait (CEvent &event, int timeoutMillis=-1) |
Protected Attributes | |
CDVDMessageQueue | m_messageQueue |
CDVDMessageQueue & | m_messageParent |
CDVDStreamInfo | m_hints_current |
CDVDStreamInfo | m_hints |
OMXClock * | m_av_clock |
COMXAudio | m_omxAudio |
std::string | m_codec_name |
bool | m_passthrough |
AEAudioFormat | m_format |
COMXAudioCodecOMX * | m_pAudioCodec |
int | m_speed |
bool | m_silence |
double | m_audioClock |
bool | m_stalled |
IDVDStreamPlayer::ESyncState | m_syncState |
BitstreamStats | m_audioStats |
bool | m_buffer_empty |
bool | m_flush |
bool | m_DecoderOpen |
bool | m_bad_state |
![]() | |
std::atomic< bool > | m_bStop |
![]() | |
CProcessInfo & | m_processInfo |
Additional Inherited Members | |
![]() | |
enum | ESyncState { SYNC_STARTING , SYNC_WAITSYNC , SYNC_INSYNC } |
![]() | |
static bool | IsCurrentThread (const ThreadIdentifier tid) |
static ThreadIdentifier | GetCurrentThreadId () |
static ThreadIdentifier | GetDisplayThreadId (const ThreadIdentifier tid) |
static CThread * | GetCurrentThread () |
![]() | |
enum | WaitResponse { WAIT_INTERRUPTED = -1 , WAIT_SIGNALED = 0 , WAIT_TIMEDOUT = 1 } |
OMXPlayerAudio::OMXPlayerAudio | ( | OMXClock * | av_clock, |
CDVDMessageQueue & | parent, | ||
CProcessInfo & | processInfo | ||
) |
OMXPlayerAudio::~OMXPlayerAudio | ( | ) |
|
inlineoverridevirtual |
Implements IDVDStreamPlayerAudio.
void OMXPlayerAudio::CloseDecoder | ( | ) |
|
overridevirtual |
Implements IDVDStreamPlayerAudio.
bool OMXPlayerAudio::CodecChange | ( | ) |
bool OMXPlayerAudio::Decode | ( | DemuxPacket * | pkt, |
bool | bDropPacket, | ||
bool | bTrickPlay | ||
) |
|
overridevirtual |
Implements IDVDStreamPlayerAudio.
|
inlineoverridevirtual |
Implements IDVDStreamPlayer.
|
overridevirtual |
Implements IDVDStreamPlayerAudio.
|
inlineoverridevirtual |
Implements IDVDStreamPlayerAudio.
AEAudioFormat OMXPlayerAudio::GetDataFormat | ( | CDVDStreamInfo | hints | ) |
|
inlineoverridevirtual |
Implements IDVDStreamPlayerAudio.
|
inlineoverridevirtual |
Implements IDVDStreamPlayerAudio.
|
overridevirtual |
Implements IDVDStreamPlayerAudio.
|
inlineoverridevirtual |
Implements IDVDStreamPlayerAudio.
|
overridevirtual |
Reimplemented from IDVDStreamPlayerAudio.
|
inlineoverridevirtual |
Implements IDVDStreamPlayerAudio.
|
overridevirtual |
Implements IDVDStreamPlayerAudio.
|
inlineoverridevirtual |
Implements IDVDStreamPlayerAudio.
bool OMXPlayerAudio::OpenDecoder | ( | ) |
|
protected |
|
overridevirtual |
Implements IDVDStreamPlayerAudio.
Implements IDVDStreamPlayerAudio.
|
inlineoverridevirtual |
Implements IDVDStreamPlayerAudio.
|
inlineoverridevirtual |
Reimplemented from IDVDStreamPlayerAudio.
|
overridevirtual |
Implements IDVDStreamPlayerAudio.
|
inlineoverridevirtual |
Reimplemented from IDVDStreamPlayerAudio.
void OMXPlayerAudio::SubmitEOS | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |