C# Class FrameTrapped.Common.Utilities.Roadie

The Roadie class for audio handling in the time line.
Inheritance: IDisposable
Afficher le fichier Open project: jhogoforbroke/Frame-Trapped

Méthodes publiques

Свойство Type Description
HOLD_BUTTON_SOUND String
HOLD_DIRECTION_SOUND String
PRESS_BUTTON_SOUND String
PRESS_DIRECTION_SOUND String
RELEASE_BUTTON_SOUND String
RELEASE_DIRECTION_SOUND String
WAIT_SOUND String

Private Properties

Свойство Type Description
Roadie System
Work void
mciSendString System.Int32

Méthodes publiques

Méthode Description
Dispose ( ) : void

The dispose function.

PlaySound ( string sound ) : void

Play sound function.

Private Methods

Méthode Description
Roadie ( ) : System

Initializes a new instance of the Roadie class.

Work ( ) : void

The worker thread function.

mciSendString ( string command, StringBuilder buffer, int bufferSize, IntPtr hwndCallback ) : Int32

Method Details

Dispose() public méthode

The dispose function.
public Dispose ( ) : void
Résultat void

PlaySound() public méthode

Play sound function.
public PlaySound ( string sound ) : void
sound string The sound to play.
Résultat void

Property Details

HOLD_BUTTON_SOUND public_oe static_oe property

The HOLD_BUTTON_SOUND sound command string.
public static String HOLD_BUTTON_SOUND
Résultat String

HOLD_DIRECTION_SOUND public_oe static_oe property

The HOLD_DIRECTION_SOUND sound command string.
public static String HOLD_DIRECTION_SOUND
Résultat String

PRESS_BUTTON_SOUND public_oe static_oe property

The PRESS_BUTTON_SOUND sound command string.
public static String PRESS_BUTTON_SOUND
Résultat String

PRESS_DIRECTION_SOUND public_oe static_oe property

The PRESS_DIRECTION_SOUND sound command string.
public static String PRESS_DIRECTION_SOUND
Résultat String

RELEASE_BUTTON_SOUND public_oe static_oe property

The RELEASE_BUTTON_SOUND sound command string.
public static String RELEASE_BUTTON_SOUND
Résultat String

RELEASE_DIRECTION_SOUND public_oe static_oe property

The RELEASE_DIRECTION_SOUND sound command string.
public static String RELEASE_DIRECTION_SOUND
Résultat String

WAIT_SOUND public_oe static_oe property

The WAIT sound command string.
public static String WAIT_SOUND
Résultat String