cocos2d-x  3.3rc0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
AudioCache Class Reference

#include <AudioCache.h>

Public Types

enum  FileFormat { UNKNOWN, OGG, MP3 }
 

Public Member Functions

 AudioCache ()
 ~AudioCache ()
 ~AudioCache ()
 ~AudioCache ()
void addCallbacks (const std::function< void()> &callback)
local addCallbacks ( local callback)
 AudioCache ()
 AudioCache ()
 AudioCache ()
 AudioCache (AudioCache &)
 AudioCache ()
 AudioCache ()
 ~AudioCache ()
void addCallbacks (const std::function< void()> &callback)
var addCallbacks ( var callback)
local addCallbacks ( local callback)

Protected Member Functions

void readDataTask ()
void invokingCallbacks ()
var invokingCallbacks ()
local invokingCallbacks ()

Protected Attributes

FileFormat _fileFormat
var _fileFormat
local _fileFormat
size_t _pcmDataSize
var _pcmDataSize
local _pcmDataSize
ALenum _alBufferFormat
var _alBufferFormat
local _alBufferFormat
int _channels
var _channels
local _channels
ALuint _sampleRate
var _sampleRate
local _sampleRate
size_t _bytesPerFrame
var _bytesPerFrame
local _bytesPerFrame
void * _pcmData
var _pcmData
local _pcmData
size_t _bytesOfRead
var _bytesOfRead
local _bytesOfRead
int _queBufferFrames
var _queBufferFrames
local _queBufferFrames
int _queBufferBytes
var _queBufferBytes
local _queBufferBytes
int _mp3Encoding

Friends

class AudioEngineImpl
class AudioPlayer

Member Enumeration Documentation

enum FileFormat
strong
Enumerator
UNKNOWN 
OGG 
MP3 
var FileFormat
strong
Enumerator
UNKNOWN 
OGG 
MP3 
local FileFormat
strong
Enumerator
UNKNOWN 
OGG 
MP3 

Constructor & Destructor Documentation

var AudioCache ( )
local AudioCache ( )
~AudioCache ( )
var ~AudioCache ( )
local ~AudioCache ( )
var AudioCache ( )
local AudioCache ( )
var AudioCache ( var  )
local AudioCache ( local  )
~AudioCache ( )
var ~AudioCache ( )
local ~AudioCache ( )

Member Function Documentation

void addCallbacks ( const std::function< void()> &  callback)
var addCallbacks ( var  callback)
local addCallbacks ( local  callback)
void addCallbacks ( const std::function< void()> &  callback)
var addCallbacks ( var  callback)
local addCallbacks ( local  callback)
void invokingCallbacks ( )
protected
var invokingCallbacks ( )
protected
local invokingCallbacks ( )
protected
void readDataTask ( )
protected
var readDataTask ( )
protected
local readDataTask ( )
protected

Friends And Related Function Documentation

var AudioEngineImpl
friend
local AudioEngineImpl
friend
AudioPlayer
friend
var AudioPlayer
friend
local AudioPlayer
friend

Member Data Documentation

ALenum _alBufferFormat
protected
var _alBufferFormat
protected
local _alBufferFormat
protected
size_t _bytesOfRead
protected
var _bytesOfRead
protected
local _bytesOfRead
protected
size_t _bytesPerFrame
protected
var _bytesPerFrame
protected
local _bytesPerFrame
protected
int _channels
protected
var _channels
protected
local _channels
protected
FileFormat _fileFormat
protected
var _fileFormat
protected
local _fileFormat
protected
int _mp3Encoding
protected
var _mp3Encoding
protected
local _mp3Encoding
protected
void* _pcmData
protected
var _pcmData
protected
local _pcmData
protected
size_t _pcmDataSize
protected
var _pcmDataSize
protected
local _pcmDataSize
protected
int _queBufferBytes
protected
var _queBufferBytes
protected
local _queBufferBytes
protected
int _queBufferFrames
protected
var _queBufferFrames
protected
local _queBufferFrames
protected
ALuint _sampleRate
protected
var _sampleRate
protected
local _sampleRate
protected

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