C# Class Sconit_SD.Sound

ファイルを表示 Open project: Novthirteen/yfkey-scms Class Usage Examples

Public Methods

Method Description
Play ( ) : void

Play the sound

Sound ( Stream stream ) : System

Construct the Sound object to play sound data from the specified stream.

Sound ( byte m_soundBytes ) : System

Construct the Sound object to play sound data from the specified byte.

Sound ( string fileName ) : System

Construct the Sound object to play sound data from the specified file.

Private Methods

Method Description
WCE_PlaySound ( string szSound, IntPtr hMod, int flags ) : int
WCE_PlaySoundBytes ( byte szSound, IntPtr hMod, int flags ) : int

Method Details

Play() public method

Play the sound
public Play ( ) : void
return void

Sound() public method

Construct the Sound object to play sound data from the specified stream.
public Sound ( Stream stream ) : System
stream Stream
return System

Sound() public method

Construct the Sound object to play sound data from the specified byte.
public Sound ( byte m_soundBytes ) : System
m_soundBytes byte
return System

Sound() public method

Construct the Sound object to play sound data from the specified file.
public Sound ( string fileName ) : System
fileName string
return System