C# Class Steamp3.MediaPlayer

ファイルを表示 Open project: ta0soft/STEAMp3

Public Methods

Method Description
ChangeDevice ( int index ) : bool
Dispose ( ) : void
GetDeviceNames ( ) : string[]
IsPaused ( ) : bool
IsPlaying ( bool orPaused ) : bool
MediaPlayer ( ) : System
Next ( string status, bool chat ) : bool
Pause ( string status, bool chat ) : bool
Play ( System.Windows.Forms.UI item, string status, bool chat ) : bool
Play ( int index, string status, bool chat ) : bool
Play ( string status, bool chat ) : bool
Previous ( string status, bool chat ) : bool
Random ( string status, bool chat ) : bool
Resume ( string status, bool chat ) : bool
StartTimers ( ) : void
Stop ( string status, bool chat ) : bool
StopTimers ( ) : void
Stream ( System.Windows.Forms.UI station, string status, bool chat ) : bool

Protected Methods

Method Description
OnMediaError ( EventArgs e ) : void
OnPlayModeChanged ( EventArgs e ) : void
OnPlayStateChanged ( EventArgs e ) : void
OnPositionChanged ( EventArgs e ) : void
OnVolumeChanged ( EventArgs e ) : void

Private Methods

Method Description
DisposeID3 ( ) : void
DisposeMediaPlayer ( ) : void
p_Shoutcast_TitleReceived ( object sender, string title ) : void
p_StreamTimer_Tick ( object sender, EventArgs e ) : void
p_Timer2_Tick ( object sender, EventArgs e ) : void
p_Timer_Tick ( object sender, EventArgs e ) : void
p_WMP_MediaError ( object pMediaObject ) : void
p_WMP_PlayStateChange ( int NewState ) : void

Method Details

ChangeDevice() public method

public ChangeDevice ( int index ) : bool
index int
return bool

Dispose() public method

public Dispose ( ) : void
return void

GetDeviceNames() public method

public GetDeviceNames ( ) : string[]
return string[]

IsPaused() public method

public IsPaused ( ) : bool
return bool

IsPlaying() public method

public IsPlaying ( bool orPaused ) : bool
orPaused bool
return bool

MediaPlayer() public method

public MediaPlayer ( ) : System
return System

Next() public method

public Next ( string status, bool chat ) : bool
status string
chat bool
return bool

OnMediaError() protected method

protected OnMediaError ( EventArgs e ) : void
e System.EventArgs
return void

OnPlayModeChanged() protected method

protected OnPlayModeChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnPlayStateChanged() protected method

protected OnPlayStateChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnPositionChanged() protected method

protected OnPositionChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnVolumeChanged() protected method

protected OnVolumeChanged ( EventArgs e ) : void
e System.EventArgs
return void

Pause() public method

public Pause ( string status, bool chat ) : bool
status string
chat bool
return bool

Play() public method

public Play ( System.Windows.Forms.UI item, string status, bool chat ) : bool
item System.Windows.Forms.UI
status string
chat bool
return bool

Play() public method

public Play ( int index, string status, bool chat ) : bool
index int
status string
chat bool
return bool

Play() public method

public Play ( string status, bool chat ) : bool
status string
chat bool
return bool

Previous() public method

public Previous ( string status, bool chat ) : bool
status string
chat bool
return bool

Random() public method

public Random ( string status, bool chat ) : bool
status string
chat bool
return bool

Resume() public method

public Resume ( string status, bool chat ) : bool
status string
chat bool
return bool

StartTimers() public method

public StartTimers ( ) : void
return void

Stop() public method

public Stop ( string status, bool chat ) : bool
status string
chat bool
return bool

StopTimers() public method

public StopTimers ( ) : void
return void

Stream() public method

public Stream ( System.Windows.Forms.UI station, string status, bool chat ) : bool
station System.Windows.Forms.UI
status string
chat bool
return bool