C# Class Motion.Sound.MP3Player

Inheritance: IAlarmPlayer
显示文件 Open project: zhuangyy/Motion

Public Methods

Method Description
AlarmEnd ( ) : void
AlarmStart ( ) : void
Check ( ) : bool
Close ( ) : void
MP3Player ( ) : System
Open ( ) : void
Pause ( ) : void
Play ( ) : void
Seek ( ulong Millisecs ) : void
Stop ( ) : void

Protected Methods

Method Description
OnCloseFile ( CloseFileEventArgs cea ) : void
OnError ( ErrorEventArgs eea ) : void
OnOpenFile ( OpenFileEventArgs oea ) : void
OnPauseFile ( PauseFileEventArgs paea ) : void
OnPlayFile ( PlayFileEventArgs pea ) : void
OnStopFile ( StopFileEventArgs sea ) : void

Private Methods

Method Description
CalculateLength ( ) : void
mciSendString ( string strCommand, StringBuilder strReturn, int iReturnLength, IntPtr hwndCallback ) : long

Method Details

AlarmEnd() public method

public AlarmEnd ( ) : void
return void

AlarmStart() public method

public AlarmStart ( ) : void
return void

Check() public method

public Check ( ) : bool
return bool

Close() public method

public Close ( ) : void
return void

MP3Player() public method

public MP3Player ( ) : System
return System

OnCloseFile() protected method

protected OnCloseFile ( CloseFileEventArgs cea ) : void
cea CloseFileEventArgs
return void

OnError() protected method

protected OnError ( ErrorEventArgs eea ) : void
eea ErrorEventArgs
return void

OnOpenFile() protected method

protected OnOpenFile ( OpenFileEventArgs oea ) : void
oea OpenFileEventArgs
return void

OnPauseFile() protected method

protected OnPauseFile ( PauseFileEventArgs paea ) : void
paea PauseFileEventArgs
return void

OnPlayFile() protected method

protected OnPlayFile ( PlayFileEventArgs pea ) : void
pea PlayFileEventArgs
return void

OnStopFile() protected method

protected OnStopFile ( StopFileEventArgs sea ) : void
sea StopFileEventArgs
return void

Open() public method

public Open ( ) : void
return void

Pause() public method

public Pause ( ) : void
return void

Play() public method

public Play ( ) : void
return void

Seek() public method

public Seek ( ulong Millisecs ) : void
Millisecs ulong
return void

Stop() public method

public Stop ( ) : void
return void