Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CDVDAudioCodec Class Referenceabstract

#include <DVDAudioCodec.h>

Inheritance diagram for CDVDAudioCodec:
CDVDAudioCodecAndroidMediaCodec CDVDAudioCodecFFmpeg CDVDAudioCodecPassthrough

Public Member Functions

 CDVDAudioCodec (CProcessInfo &processInfo)
 
virtual ~CDVDAudioCodec ()=default
 
virtual bool Open (CDVDStreamInfo &hints, CDVDCodecOptions &options)=0
 
virtual void Dispose ()=0
 
virtual bool AddData (const DemuxPacket &packet)=0
 
virtual void GetData (DVDAudioFrame &frame)=0
 
virtual void Reset ()=0
 
virtual AEAudioFormat GetFormat ()=0
 
virtual int GetBitRate ()
 
virtual bool NeedPassthrough ()
 
virtual std::string GetName ()=0
 
virtual int GetBufferSize ()
 
virtual enum AVMatrixEncoding GetMatrixEncoding ()
 
virtual enum AVAudioServiceType GetAudioServiceType ()
 
virtual int GetProfile ()
 

Protected Attributes

CProcessInfom_processInfo
 

Constructor & Destructor Documentation

◆ CDVDAudioCodec()

CDVDAudioCodec::CDVDAudioCodec ( CProcessInfo & processInfo)
inlineexplicit

◆ ~CDVDAudioCodec()

virtual CDVDAudioCodec::~CDVDAudioCodec ( )
virtualdefault

Member Function Documentation

◆ AddData()

virtual bool CDVDAudioCodec::AddData ( const DemuxPacket & packet)
pure virtual

◆ Dispose()

virtual void CDVDAudioCodec::Dispose ( )
pure virtual

◆ GetAudioServiceType()

virtual enum AVAudioServiceType CDVDAudioCodec::GetAudioServiceType ( )
inlinevirtual

Reimplemented in CDVDAudioCodecFFmpeg.

◆ GetBitRate()

virtual int CDVDAudioCodec::GetBitRate ( )
inlinevirtual

Reimplemented in CDVDAudioCodecFFmpeg.

◆ GetBufferSize()

virtual int CDVDAudioCodec::GetBufferSize ( )
inlinevirtual

Reimplemented in CDVDAudioCodecPassthrough.

◆ GetData()

virtual void CDVDAudioCodec::GetData ( DVDAudioFrame & frame)
pure virtual

◆ GetFormat()

virtual AEAudioFormat CDVDAudioCodec::GetFormat ( )
pure virtual

◆ GetMatrixEncoding()

virtual enum AVMatrixEncoding CDVDAudioCodec::GetMatrixEncoding ( )
inlinevirtual

Reimplemented in CDVDAudioCodecFFmpeg.

◆ GetName()

virtual std::string CDVDAudioCodec::GetName ( )
pure virtual

◆ GetProfile()

virtual int CDVDAudioCodec::GetProfile ( )
inlinevirtual

Reimplemented in CDVDAudioCodecFFmpeg.

◆ NeedPassthrough()

virtual bool CDVDAudioCodec::NeedPassthrough ( )
inlinevirtual

Reimplemented in CDVDAudioCodecPassthrough.

◆ Open()

virtual bool CDVDAudioCodec::Open ( CDVDStreamInfo & hints,
CDVDCodecOptions & options )
pure virtual

◆ Reset()

virtual void CDVDAudioCodec::Reset ( )
pure virtual

Member Data Documentation

◆ m_processInfo

CProcessInfo& CDVDAudioCodec::m_processInfo
protected

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