kodi
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
ActiveAE::CActiveAESound Class Reference
Inheritance diagram for ActiveAE::CActiveAESound:
Inheritance graph
[legend]
Collaboration diagram for ActiveAE::CActiveAESound:
Collaboration graph
[legend]

Public Member Functions

 CActiveAESound (const std::string &filename, CActiveAE *ae)
 
void Play () override
 
void Stop () override
 
bool IsPlaying () override
 
void SetChannel (AEChannel channel) override
 
AEChannel GetChannel () override
 
void SetVolume (float volume) override
 
float GetVolume () override
 
uint8_t ** InitSound (bool orig, SampleConfig config, int nb_samples)
 
bool StoreSound (bool orig, uint8_t **buffer, int samples, int linesize)
 
CSoundPacketGetSound (bool orig)
 
bool IsConverted ()
 
void SetConverted (bool state)
 
bool Prepare ()
 
void Finish ()
 
int GetChunkSize ()
 
int GetFileSize ()
 
bool IsSeekPossible ()
 

Static Public Member Functions

static int Read (void *h, uint8_t *buf, int size)
 
static int64_t Seek (void *h, int64_t pos, int whence)
 

Protected Attributes

CActiveAEm_activeAE
 
std::string m_filename
 
XFILE::CFilem_pFile
 
bool m_isSeekPossible
 
int m_fileSize
 
float m_volume = 1.0f
 
AEChannel m_channel = AE_CH_NULL
 
CSoundPacketm_orig_sound
 
CSoundPacketm_dst_sound
 
bool m_isConverted
 

Additional Inherited Members

- Protected Member Functions inherited from IAESound
 IAESound (const std::string &filename)
 

Member Function Documentation

◆ IsPlaying()

bool CActiveAESound::IsPlaying ( )
overridevirtual
Todo:
implement

Implements IAESound.


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