#include <MciPlayer.h>
|
LRESULT WINAPI | _SoundPlayProc (HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam) |
Get playing sound's ID.
- Returns
- Sound's ID
Get playing sound's ID.
- Returns
- Sound's ID
Get playing sound's ID.
- Returns
- Sound's ID
void Open |
( |
const char * |
pFileName, |
|
|
UINT |
uId |
|
) |
| |
Play sound file.
- Parameters
-
pFileName | Sound's file name,include the file path. |
nTimes | Play modeŁ¬default value is 1,paly once |
var Open |
( |
var |
pFileName, |
|
|
var |
uId |
|
) |
| |
Play sound file.
- Parameters
-
pFileName | Sound's file name,include the file path. |
nTimes | Play modeŁ¬default value is 1,paly once |
local Open |
( |
local |
pFileName, |
|
|
local |
uId |
|
) |
| |
Play sound file.
- Parameters
-
pFileName | Sound's file name,include the file path. |
nTimes | Play modeŁ¬default value is 1,paly once |
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/minggo/SourceCode/cocos2d-x/cocos/audio/win32/MciPlayer.h