#include <MciPlayer.h>
|
LRESULT WINAPI | _SoundPlayProc (HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam) |
获取当前播放的音效 ID
- Returns
- 当前播放的音效ID
获取当前播放的音效 ID
- Returns
- 当前播放的音效ID
获取当前播放的音效 ID
- Returns
- 当前播放的音效ID
void Open |
( |
const char * |
pFileName, |
|
|
UINT |
uId |
|
) |
| |
播放声音文件
- Parameters
-
pFileName | 播放的声音文件名称,需要包含文件的路径 |
nTimes | 播放声音文件的循环次数,默认值为 1,即播放一次 |
var Open |
( |
var |
pFileName, |
|
|
var |
uId |
|
) |
| |
播放声音文件
- Parameters
-
pFileName | 播放的声音文件名称,需要包含文件的路径 |
nTimes | 播放声音文件的循环次数,默认值为 1,即播放一次 |
local Open |
( |
local |
pFileName, |
|
|
local |
uId |
|
) |
| |
播放声音文件
- Parameters
-
pFileName | 播放的声音文件名称,需要包含文件的路径 |
nTimes | 播放声音文件的循环次数,默认值为 1,即播放一次 |
void Play |
( |
UINT |
uTimes = 1 ) | |
|
var Play |
( |
var |
uTimes = 1 ) | |
|
local Play |
( |
local |
uTimes = 1 ) | |
|
LRESULT WINAPI _SoundPlayProc |
( |
HWND |
hWnd, |
|
|
UINT |
Msg, |
|
|
WPARAM |
wParam, |
|
|
LPARAM |
lParam |
|
) |
| |
|
friend |
var _SoundPlayProc |
( |
var |
hWnd, |
|
|
var |
Msg, |
|
|
var |
wParam, |
|
|
var |
lParam |
|
) |
| |
|
friend |
local _SoundPlayProc |
( |
local |
hWnd, |
|
|
local |
Msg, |
|
|
local |
wParam, |
|
|
local |
lParam |
|
) |
| |
|
friend |
The documentation for this class was generated from the following file:
- /Users/cocos2d/MyWork/cocos2d-x-develop/cocos/audio/win32/MciPlayer.h