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

#include <AudioDecoder.h>

Public Member Functions

 CAudioDecoder ()
 
 ~CAudioDecoder ()
 
bool Create (const CFileItem &file, int64_t seekOffset)
 
void Destroy ()
 
int ReadSamples (int numsamples)
 
bool CanSeek ()
 
int64_t Seek (int64_t time)
 
int64_t TotalTime ()
 
void SetTotalTime (int64_t time)
 
void Start ()
 
int GetStatus ()
 
void SetStatus (int status)
 
AEAudioFormat GetFormat ()
 
unsigned int GetChannels ()
 
unsigned int GetDataSize (bool checkPktSize)
 
voidGetData (unsigned int samples)
 
uint8_tGetRawData (int &size)
 
ICodecGetCodec () const
 
float GetReplayGain (float &peakVal)
 

Constructor & Destructor Documentation

◆ CAudioDecoder()

CAudioDecoder::CAudioDecoder ( )

◆ ~CAudioDecoder()

CAudioDecoder::~CAudioDecoder ( )

Member Function Documentation

◆ CanSeek()

bool CAudioDecoder::CanSeek ( )

◆ Create()

bool CAudioDecoder::Create ( const CFileItem & file,
int64_t seekOffset )

◆ Destroy()

void CAudioDecoder::Destroy ( )

◆ GetChannels()

unsigned int CAudioDecoder::GetChannels ( )

◆ GetCodec()

ICodec * CAudioDecoder::GetCodec ( ) const
inline

◆ GetData()

void * CAudioDecoder::GetData ( unsigned int samples)

◆ GetDataSize()

unsigned int CAudioDecoder::GetDataSize ( bool checkPktSize)

◆ GetFormat()

AEAudioFormat CAudioDecoder::GetFormat ( )

◆ GetRawData()

uint8_t * CAudioDecoder::GetRawData ( int & size)

◆ GetReplayGain()

float CAudioDecoder::GetReplayGain ( float & peakVal)

◆ GetStatus()

int CAudioDecoder::GetStatus ( )
inline

◆ ReadSamples()

int CAudioDecoder::ReadSamples ( int numsamples)
Todo
trash this useless ringbuffer

◆ Seek()

int64_t CAudioDecoder::Seek ( int64_t time)

◆ SetStatus()

void CAudioDecoder::SetStatus ( int status)
inline

◆ SetTotalTime()

void CAudioDecoder::SetTotalTime ( int64_t time)

◆ Start()

void CAudioDecoder::Start ( )
inline

◆ TotalTime()

int64_t CAudioDecoder::TotalTime ( )

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