cocos2d-x  3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CDBufferManager Class Reference

Allows buffers to be associated with file names. More...

#import <CDAudioManager.h>

Inheritance diagram for CDBufferManager:

Instance Methods

(id) - initWithEngine:
var - initWithEngine:
local - initWithEngine:
(int) - bufferForFile:create:
var - bufferForFile:create:
local - bufferForFile:create:
(void) - releaseBufferForFile:
(id) - initWithEngine:
var - initWithEngine:
local - initWithEngine:
(int) - bufferForFile:create:
var - bufferForFile:create:
local - bufferForFile:create:
(void) - releaseBufferForFile:

Protected Attributes

NSMutableDictionary * loadedBuffers
NSMutableArray * freedBuffers
local freedBuffers
CDSoundEnginesoundEngine
int nextBufferId
var nextBufferId
local nextBufferId

Detailed Description

Allows buffers to be associated with file names.

Method Documentation

- (int) bufferForFile: (NSString *)  filePath
create: (BOOL)  create 
- (int) bufferForFile: var  filePath
create: var  create 
- (int) bufferForFile: local  filePath
create: local  create 
- (int) bufferForFile: (NSString *)  filePath
create: (BOOL)  create 
- (int) bufferForFile: var  filePath
create: var  create 
- (int) bufferForFile: local  filePath
create: local  create 
- (id) initWithEngine: (CDSoundEngine *)  theSoundEngine
- (id) initWithEngine: var  theSoundEngine
- (id) initWithEngine: local  theSoundEngine
- (id) initWithEngine: (CDSoundEngine *)  theSoundEngine
- (id) initWithEngine: var  theSoundEngine
- (id) initWithEngine: local  theSoundEngine
- (void) releaseBufferForFile: (NSString *)  filePath
- (void) releaseBufferForFile: var  filePath
- (void) releaseBufferForFile: local  filePath
- (void) releaseBufferForFile: (NSString *)  filePath
- (void) releaseBufferForFile: var  filePath
- (void) releaseBufferForFile: local  filePath

Member Data Documentation

- (NSMutableArray *) freedBuffers
protected
var freedBuffers
protected
local freedBuffers
protected
- (NSMutableDictionary
*) loadedBuffers
protected
var loadedBuffers
protected
local loadedBuffers
protected
- (int) nextBufferId
protected
var nextBufferId
protected
local nextBufferId
protected
- (CDSoundEngine *) soundEngine
protected
var soundEngine
protected
local soundEngine
protected

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