AppEasy Core SDK  1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
CzPlatformAudio Class Reference

#include <CzPlatformAudio.h>

Inheritance diagram for CzPlatformAudio:
IzPlatformAudio IzPlatformAudio

List of all members.

Public Member Functions

int Init ()
void Release ()
void Update ()
bool InitSound (void *memory_file, int memory_file_size, CzSoundData &sound_data, CzSoundSpec &sound_spec)
CzSoundInst PlaySound (unsigned int name_hash, CzScene *scene, float volume, float pitch, float pan, bool looped)
CzSoundInst PlaySound (CzSoundSpec sound_spec, float volume, float pitch, float pan, bool looped)
void StopSound (CzSoundInst sound_inst)
void PauseSound (CzSoundInst sound_inst)
void ResumeSound (CzSoundInst sound_inst)
void setSoundVolume (CzSoundInst sound_inst, float volume)
void setSoundPitch (CzSoundInst sound_inst, float pitch)
void setSoundPan (CzSoundInst sound_inst, float pan)
bool isSoundPlaying (CzSoundInst sound_inst) const
void StopAllSounds ()
void PauseAllSounds ()
void ResumeAllSounds ()
bool isMusicCodecSupported (eCzAudioCodec codec)
void setGlobalSoundVolume (float vol)
void setMusicVolume (float vol)
bool PlayMusic (const char *name, int repeat_count=0)
bool PlayMusic (void *buffer, uint32 buffer_length, uint32 repeat_count)
void StopMusic ()
void PauseMusic ()
void ResumeMusic ()
bool isMusicPlaying ()
void DeleteSoundData (CzSoundData data)
void DeleteSoundSpec (CzSoundSpec spec)
int Init ()
void Release ()
void Update ()
bool InitSound (void *memory_file, int memory_file_size, CzSoundData &sound_data, CzSoundSpec &sound_spec)
CzSoundInst PlaySound (unsigned int name_hash, CzScene *scene, float volume, float pitch, float pan, bool looped)
CzSoundInst PlaySound (CzSoundSpec sound_spec, float volume, float pitch, float pan, bool looped)
void StopSound (CzSoundInst sound_inst)
void PauseSound (CzSoundInst sound_inst)
void ResumeSound (CzSoundInst sound_inst)
void setSoundVolume (CzSoundInst sound_inst, float volume)
void setSoundPitch (CzSoundInst sound_inst, float pitch)
void setSoundPan (CzSoundInst sound_inst, float pan)
bool isSoundPlaying (CzSoundInst sound_inst) const
void StopAllSounds ()
void PauseAllSounds ()
void ResumeAllSounds ()
bool isMusicCodecSupported (eCzAudioCodec codec)
void setGlobalSoundVolume (float vol)
void setMusicVolume (float vol)
bool PlayMusic (const char *name, int repeat_count=0)
bool PlayMusic (void *buffer, uint32 buffer_length, uint32 repeat_count)
void StopMusic ()
void PauseMusic ()
void ResumeMusic ()
bool isMusicPlaying ()
void DeleteSoundData (CzSoundData data)
void DeleteSoundSpec (CzSoundSpec spec)

Protected Member Functions

s3eAudioCodec getCodec (eCzAudioCodec codec)
void setSoundOn (bool on)
void setMusicOn (bool on)
void setSoundOn (bool on)
void setMusicOn (bool on)

Member Function Documentation

Implements IzPlatformAudio.

Implements IzPlatformAudio.

Implements IzPlatformAudio.

Implements IzPlatformAudio.

s3eAudioCodec CzPlatformAudio::getCodec ( eCzAudioCodec  codec) [protected]
int CzPlatformAudio::Init ( ) [virtual]

Implements IzPlatformAudio.

int CzPlatformAudio::Init ( ) [virtual]

Implements IzPlatformAudio.

bool CzPlatformAudio::InitSound ( void *  memory_file,
int  memory_file_size,
CzSoundData sound_data,
CzSoundSpec sound_spec 
) [virtual]

Implements IzPlatformAudio.

bool CzPlatformAudio::InitSound ( void *  memory_file,
int  memory_file_size,
CzSoundData sound_data,
CzSoundSpec sound_spec 
) [virtual]

Implements IzPlatformAudio.

bool CzPlatformAudio::isMusicPlaying ( ) [virtual]

Implements IzPlatformAudio.

bool CzPlatformAudio::isMusicPlaying ( ) [virtual]

Implements IzPlatformAudio.

bool CzPlatformAudio::isSoundPlaying ( CzSoundInst  sound_inst) const [virtual]

Implements IzPlatformAudio.

bool CzPlatformAudio::isSoundPlaying ( CzSoundInst  sound_inst) const [virtual]

Implements IzPlatformAudio.

void CzPlatformAudio::PauseAllSounds ( ) [virtual]

Implements IzPlatformAudio.

void CzPlatformAudio::PauseAllSounds ( ) [virtual]

Implements IzPlatformAudio.

void CzPlatformAudio::PauseMusic ( ) [virtual]

Implements IzPlatformAudio.

void CzPlatformAudio::PauseMusic ( ) [virtual]

Implements IzPlatformAudio.

void CzPlatformAudio::PauseSound ( CzSoundInst  sound_inst) [virtual]

Implements IzPlatformAudio.

void CzPlatformAudio::PauseSound ( CzSoundInst  sound_inst) [virtual]

Implements IzPlatformAudio.

bool CzPlatformAudio::PlayMusic ( const char *  name,
int  repeat_count = 0 
) [virtual]

Implements IzPlatformAudio.

bool CzPlatformAudio::PlayMusic ( void *  buffer,
uint32  buffer_length,
uint32  repeat_count 
) [virtual]

Implements IzPlatformAudio.

bool CzPlatformAudio::PlayMusic ( const char *  name,
int  repeat_count = 0 
) [virtual]

Implements IzPlatformAudio.

bool CzPlatformAudio::PlayMusic ( void *  buffer,
uint32  buffer_length,
uint32  repeat_count 
) [virtual]

Implements IzPlatformAudio.

CzSoundInst CzPlatformAudio::PlaySound ( unsigned int  name_hash,
CzScene scene,
float  volume,
float  pitch,
float  pan,
bool  looped 
) [virtual]

Implements IzPlatformAudio.

CzSoundInst CzPlatformAudio::PlaySound ( CzSoundSpec  sound_spec,
float  volume,
float  pitch,
float  pan,
bool  looped 
) [virtual]

Implements IzPlatformAudio.

CzSoundInst CzPlatformAudio::PlaySound ( unsigned int  name_hash,
CzScene scene,
float  volume,
float  pitch,
float  pan,
bool  looped 
) [virtual]

Implements IzPlatformAudio.

CzSoundInst CzPlatformAudio::PlaySound ( CzSoundSpec  sound_spec,
float  volume,
float  pitch,
float  pan,
bool  looped 
) [virtual]

Implements IzPlatformAudio.

void CzPlatformAudio::Release ( ) [virtual]

Implements IzPlatformAudio.

void CzPlatformAudio::Release ( ) [virtual]

Implements IzPlatformAudio.

Implements IzPlatformAudio.

Implements IzPlatformAudio.

void CzPlatformAudio::ResumeMusic ( ) [virtual]

Implements IzPlatformAudio.

void CzPlatformAudio::ResumeMusic ( ) [virtual]

Implements IzPlatformAudio.

void CzPlatformAudio::ResumeSound ( CzSoundInst  sound_inst) [virtual]

Implements IzPlatformAudio.

void CzPlatformAudio::ResumeSound ( CzSoundInst  sound_inst) [virtual]

Implements IzPlatformAudio.

void CzPlatformAudio::setGlobalSoundVolume ( float  vol) [virtual]

Implements IzPlatformAudio.

void CzPlatformAudio::setGlobalSoundVolume ( float  vol) [virtual]

Implements IzPlatformAudio.

void CzPlatformAudio::setMusicOn ( bool  on) [protected, virtual]

Implements IzPlatformAudio.

void CzPlatformAudio::setMusicOn ( bool  on) [protected, virtual]

Implements IzPlatformAudio.

void CzPlatformAudio::setMusicVolume ( float  vol) [virtual]

Implements IzPlatformAudio.

void CzPlatformAudio::setMusicVolume ( float  vol) [virtual]

Implements IzPlatformAudio.

void CzPlatformAudio::setSoundOn ( bool  on) [protected, virtual]

Implements IzPlatformAudio.

void CzPlatformAudio::setSoundOn ( bool  on) [protected, virtual]

Implements IzPlatformAudio.

void CzPlatformAudio::setSoundPan ( CzSoundInst  sound_inst,
float  pan 
) [virtual]

Implements IzPlatformAudio.

void CzPlatformAudio::setSoundPan ( CzSoundInst  sound_inst,
float  pan 
) [virtual]

Implements IzPlatformAudio.

void CzPlatformAudio::setSoundPitch ( CzSoundInst  sound_inst,
float  pitch 
) [virtual]

Implements IzPlatformAudio.

void CzPlatformAudio::setSoundPitch ( CzSoundInst  sound_inst,
float  pitch 
) [virtual]

Implements IzPlatformAudio.

void CzPlatformAudio::setSoundVolume ( CzSoundInst  sound_inst,
float  volume 
) [virtual]

Implements IzPlatformAudio.

void CzPlatformAudio::setSoundVolume ( CzSoundInst  sound_inst,
float  volume 
) [virtual]

Implements IzPlatformAudio.

void CzPlatformAudio::StopAllSounds ( ) [virtual]

Implements IzPlatformAudio.

void CzPlatformAudio::StopAllSounds ( ) [virtual]

Implements IzPlatformAudio.

void CzPlatformAudio::StopMusic ( ) [virtual]

Implements IzPlatformAudio.

void CzPlatformAudio::StopMusic ( ) [virtual]

Implements IzPlatformAudio.

void CzPlatformAudio::StopSound ( CzSoundInst  sound_inst) [virtual]

Implements IzPlatformAudio.

void CzPlatformAudio::StopSound ( CzSoundInst  sound_inst) [virtual]

Implements IzPlatformAudio.

void CzPlatformAudio::Update ( ) [virtual]

Implements IzPlatformAudio.

void CzPlatformAudio::Update ( ) [virtual]

Implements IzPlatformAudio.


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