#include <MciPlayer.h>
|
| LRESULT WINAPI | _SoundPlayProc (HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam) |
| |
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 |
| void Play |
( |
UINT |
uTimes = 1 | ) |
|
| LRESULT WINAPI _SoundPlayProc |
( |
HWND |
hWnd, |
|
|
UINT |
Msg, |
|
|
WPARAM |
wParam, |
|
|
LPARAM |
lParam |
|
) |
| |
|
friend |
The documentation for this class was generated from the following file:
- /Users/huihoo/Software/huihoo-code/cocos2d-x/cocos2d-x-3.3/cocos/audio/win32/MciPlayer.h