My Project
SallyAPI::Sound::CPlaySound Class Reference

Play sound. More...

#include <PlaySound.h>

Inheritance diagram for SallyAPI::Sound::CPlaySound:
SallyAPI::System::CThread

List of all members.

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.

Detailed Description

Play sound.

Author:
Christian Knobloch
Date:
19.04.2010

Constructor & Destructor Documentation

CPlaySound::CPlaySound ( SallyAPI::GUI::CControl mainWindow,
const std::string &  soundFile 
)

Constructor.

Author:
Christian Knobloch
Date:
19.04.2010
Parameters:
[in,out]mainWindowIf non-null, the main window.
soundFileThe sound file.
CPlaySound::CPlaySound ( SallyAPI::GUI::CControl mainWindow,
DWORD  freq,
DWORD  duration,
int  repeat = 1,
int  repeatSleepMilliseconds = 100 
)

Constructor.

Author:
Christian Knobloch
Date:
19.04.2010
Parameters:
[in,out]mainWindowIf non-null, the main window.
freqThe freq.
durationThe duration.
repeatThe repeat.
repeatSleepMillisecondsThe repeat sleep in milliseconds.
CPlaySound::~CPlaySound ( ) [virtual]

Destructor.

Author:
Christian Knobloch
Date:
19.04.2010

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines