|
My Project
|
Play sound. More...
#include <PlaySound.h>
Public Member Functions | |
| CPlaySound (SallyAPI::GUI::CControl *mainWindow, const std::string &soundFile) | |
| Constructor. | |
| CPlaySound (SallyAPI::GUI::CControl *mainWindow, DWORD freq, DWORD duration, int repeat=1, int repeatSleepMilliseconds=100) | |
| Constructor. | |
| virtual | ~CPlaySound () |
| Destructor. | |
Play sound.
| CPlaySound::CPlaySound | ( | SallyAPI::GUI::CControl * | mainWindow, |
| const std::string & | soundFile | ||
| ) |
Constructor.
| [in,out] | mainWindow | If non-null, the main window. |
| soundFile | The sound file. |
| CPlaySound::CPlaySound | ( | SallyAPI::GUI::CControl * | mainWindow, |
| DWORD | freq, | ||
| DWORD | duration, | ||
| int | repeat = 1, |
||
| int | repeatSleepMilliseconds = 100 |
||
| ) |
Constructor.
| [in,out] | mainWindow | If non-null, the main window. |
| freq | The freq. | |
| duration | The duration. | |
| repeat | The repeat. | |
| repeatSleepMilliseconds | The repeat sleep in milliseconds. |
| CPlaySound::~CPlaySound | ( | ) | [virtual] |
Destructor.