C# Class FrameTrapped.Common.Utilities.Roadie

The Roadie class for audio handling in the time line.
Inheritance: IDisposable
显示文件 Open project: jhogoforbroke/Frame-Trapped

Public Properties

Property 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

Property Type Description
Roadie System
Work void
mciSendString System.Int32

Public Methods

Method Description
Dispose ( ) : void

The dispose function.

PlaySound ( string sound ) : void

Play sound function.

Private Methods

Method 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 method

The dispose function.
public Dispose ( ) : void
return void

PlaySound() public method

Play sound function.
public PlaySound ( string sound ) : void
sound string The sound to play.
return void

Property Details

HOLD_BUTTON_SOUND public_oe static_oe property

The HOLD_BUTTON_SOUND sound command string.
public static String HOLD_BUTTON_SOUND
return String

HOLD_DIRECTION_SOUND public_oe static_oe property

The HOLD_DIRECTION_SOUND sound command string.
public static String HOLD_DIRECTION_SOUND
return String

PRESS_BUTTON_SOUND public_oe static_oe property

The PRESS_BUTTON_SOUND sound command string.
public static String PRESS_BUTTON_SOUND
return String

PRESS_DIRECTION_SOUND public_oe static_oe property

The PRESS_DIRECTION_SOUND sound command string.
public static String PRESS_DIRECTION_SOUND
return String

RELEASE_BUTTON_SOUND public_oe static_oe property

The RELEASE_BUTTON_SOUND sound command string.
public static String RELEASE_BUTTON_SOUND
return String

RELEASE_DIRECTION_SOUND public_oe static_oe property

The RELEASE_DIRECTION_SOUND sound command string.
public static String RELEASE_DIRECTION_SOUND
return String

WAIT_SOUND public_oe static_oe property

The WAIT sound command string.
public static String WAIT_SOUND
return String