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

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

Public 成员函数 | 所有成员列表

Audio类 参考

#include

## Public 成员函数
Audio ()
void Initialize ()
void CreateResources ()
void ReleaseResources ()
void Start ()
void Render ()
void SetEngineExperiencedCriticalError ()
bool HasEngineExperiencedCriticalError ()
void PlayBackgroundMusic (const char pszFilePath, bool bLoop)
void StopBackgroundMusic (bool bReleaseData)
void PauseBackgroundMusic ()
void ResumeBackgroundMusic ()
void RewindBackgroundMusic ()
bool IsBackgroundMusicPlaying ()
void SetBackgroundVolume (float volume)
float GetBackgroundVolume ()
void SetSoundEffectVolume (float volume)
float GetSoundEffectVolume ()
void PlaySoundEffect (const char pszFilePath, bool bLoop, unsigned int &sound, bool isMusic=false)
void PlaySoundEffect (unsigned int sound)
bool IsSoundEffectStarted (unsigned int sound)
void StopSoundEffect (unsigned int sound)
void PauseSoundEffect (unsigned int sound)
void ResumeSoundEffect (unsigned int sound)
void RewindSoundEffect (unsigned int sound)
void PauseAllSoundEffects ()
void ResumeAllSoundEffects ()
void StopAllSoundEffects ()
void PreloadSoundEffect (const char pszFilePath, bool isMusic=false)
void UnloadSoundEffect (const char pszFilePath)
void UnloadSoundEffect (unsigned int sound)
Audio ()
void Initialize ()
void CreateResources ()
void ReleaseResources ()
void Start ()
void Render ()
void SetEngineExperiencedCriticalError ()
bool HasEngineExperiencedCriticalError ()
void PlayBackgroundMusic (const char pszFilePath, bool bLoop)
void StopBackgroundMusic (bool bReleaseData)
void PauseBackgroundMusic ()
void ResumeBackgroundMusic ()
void RewindBackgroundMusic ()
bool IsBackgroundMusicPlaying ()
void SetBackgroundVolume (float volume)
float GetBackgroundVolume ()
void SetSoundEffectVolume (float volume)
float GetSoundEffectVolume ()
void PlaySoundEffect (const char pszFilePath, bool bLoop, unsigned int &sound, bool isMusic=false)
void PlaySoundEffect (unsigned int sound)
bool IsSoundEffectStarted (unsigned int sound)
void StopSoundEffect (unsigned int sound)
void PauseSoundEffect (unsigned int sound)
void ResumeSoundEffect (unsigned int sound)
void RewindSoundEffect (unsigned int sound)
void PauseAllSoundEffects ()
void ResumeAllSoundEffects ()
void StopAllSoundEffects (bool bReleaseData)
void PreloadSoundEffect (const char pszFilePath, bool isMusic=false)
void UnloadSoundEffect (const char pszFilePath)
void UnloadSoundEffect (unsigned int sound)

构造及析构函数说明

Audio ( )

Audio ( )

成员函数说明

void CreateResources ( )

void CreateResources ( )

float GetBackgroundVolume ( )

float GetBackgroundVolume ( )

float GetSoundEffectVolume ( )

float GetSoundEffectVolume ( )

bool HasEngineExperiencedCriticalError ( )

inline

bool HasEngineExperiencedCriticalError ( )

inline

void Initialize ( )

void Initialize ( )

bool IsBackgroundMusicPlaying ( )

bool IsBackgroundMusicPlaying ( )

bool IsSoundEffectStarted ( unsigned int sound)

bool IsSoundEffectStarted ( unsigned int sound)

void PauseAllSoundEffects ( )

void PauseAllSoundEffects ( )

void PauseBackgroundMusic ( )

void PauseBackgroundMusic ( )

void PauseSoundEffect ( unsigned int sound)

void PauseSoundEffect ( unsigned int sound)

void PlayBackgroundMusic ( const char * pszFilePath,
bool bLoop
)

void PlayBackgroundMusic ( const char * pszFilePath,
bool bLoop
)

void PlaySoundEffect ( const char * pszFilePath,
bool bLoop,
unsigned int & sound,
bool isMusic = false
)

void PlaySoundEffect ( unsigned int sound)

void PlaySoundEffect ( const char * pszFilePath,
bool bLoop,
unsigned int & sound,
bool isMusic = false
)

void PlaySoundEffect ( unsigned int sound)

void PreloadSoundEffect ( const char * pszFilePath,
bool isMusic = false
)

void PreloadSoundEffect ( const char * pszFilePath,
bool isMusic = false
)

void ReleaseResources ( )

void ReleaseResources ( )

void Render ( )

void Render ( )

void ResumeAllSoundEffects ( )

void ResumeAllSoundEffects ( )

void ResumeBackgroundMusic ( )

void ResumeBackgroundMusic ( )

void ResumeSoundEffect ( unsigned int sound)

void ResumeSoundEffect ( unsigned int sound)

void RewindBackgroundMusic ( )

void RewindBackgroundMusic ( )

void RewindSoundEffect ( unsigned int sound)

void RewindSoundEffect ( unsigned int sound)

void SetBackgroundVolume ( float volume)

void SetBackgroundVolume ( float volume)

void SetEngineExperiencedCriticalError ( )

inline

void SetEngineExperiencedCriticalError ( )

inline

void SetSoundEffectVolume ( float volume)

void SetSoundEffectVolume ( float volume)

void Start ( )

void Start ( )

void StopAllSoundEffects ( )

void StopAllSoundEffects ( bool bReleaseData)

void StopBackgroundMusic ( bool bReleaseData)

void StopBackgroundMusic ( bool bReleaseData)

void StopSoundEffect ( unsigned int sound)

void StopSoundEffect ( unsigned int sound)

void UnloadSoundEffect ( const char * pszFilePath)

void UnloadSoundEffect ( unsigned int sound)

void UnloadSoundEffect ( const char * pszFilePath)

void UnloadSoundEffect ( unsigned int sound)

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

  • /Users/zeroyang/Documents/github/cocos2d-x/cocos/audio/winrt/Audio.h
  • Audio
  • 生成于 2014年 五月 29日 星期四 09:41:42 , 为 cocos2d-x使用 doxygen 1.8.6