cocos2d-x 3.0
- 首页 - 相关页面 - 模块 - 命名空间 - - 文件 -
Public 类型 - 图1 Public 类型 - 图2)
- 类列表 - 类索引 - 类继承关系 - 类成员

全部)) 命名空间) 文件) 函数) 变量) 类型定义) 枚举) 枚举值) 属性) 友元) 宏定义)))

Public 类型 | Public 成员函数 | 静态 Public 成员函数 | Protected 成员函数 | 静态 Protected 成员函数 | 静态 Protected 属性 | 所有成员列表

OpenALDecoder类 参考abstract

#include

## Public 类型
enum Format { Mp3 = 0, Vorbis, Wav, Raw, Flac, Midi, Aac }
## Public 成员函数
virtual ~OpenALDecoder ()
virtual bool decode (OpenALFile &file, ALuint &result)=0
如果该格式已经支持并且成功解码 更多…
virtual bool acceptsFormat (Format format) const =0
## 静态 Public 成员函数
static const std::vector < OpenALDecoder * > & getDecoders ()
static void installDecoders ()
## Protected 成员函数
bool initALBuffer (ALuint &result, ALenum format, const ALvoid *data, ALsizei size, ALsizei freq)
## 静态 Protected 成员函数
static void addDecoder (OpenALDecoder *decoder)
## 静态 Protected 属性
static std::vector < OpenALDecoder * > _decoders

成员枚举类型说明

enum Format
枚举值
Mp3
Vorbis
Wav
Raw
Flac
Midi
Aac

构造及析构函数说明

virtual ~OpenALDecoder ( )

inlinevirtual

成员函数说明

virtual bool acceptsFormat ( Format format) const

pure virtual

static void addDecoder ( OpenALDecoder * decoder)

staticprotected

virtual bool decode ( OpenALFile & file,
ALuint & result
)

pure virtual

如果该格式已经支持并且成功解码

static const std::vector<OpenALDecoder *>& getDecoders ( )

static

bool initALBuffer ( ALuint & result,
ALenum format,
const ALvoid * data,
ALsizei size,
ALsizei freq
)

protected

static void installDecoders ( )

static

类成员变量说明

std::vector<OpenALDecoder *> _decoders

staticprotected


该类的文档由以下文件生成:

  • /Users/zeroyang/Documents/github/cocos2d-x/cocos/audio/openal/OpenALDecoder.h