C# Класс Sconit_SD.Sound

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
WCE_PlaySound ( string szSound, IntPtr hMod, int flags ) : int
WCE_PlaySoundBytes ( byte szSound, IntPtr hMod, int flags ) : int

Описание методов

Play() публичный Метод

Play the sound
public Play ( ) : void
Результат void

Sound() публичный Метод

Construct the Sound object to play sound data from the specified stream.
public Sound ( Stream stream ) : System
stream Stream
Результат System

Sound() публичный Метод

Construct the Sound object to play sound data from the specified byte.
public Sound ( byte m_soundBytes ) : System
m_soundBytes byte
Результат System

Sound() публичный Метод

Construct the Sound object to play sound data from the specified file.
public Sound ( string fileName ) : System
fileName string
Результат System