C# Class TRock.Music.Grooveshark.GroovesharkSongPlayer

Inheritance: ISongPlayer
Mostrar archivo Open project: torshy/TRock.Music

Public Methods

Method Description
CanPlay ( Song song ) : bool
GroovesharkSongPlayer ( Lazy groove ) : System
Pause ( ) : void
Play ( ) : void
Start ( Song song ) : void
Stop ( ) : void

Protected Methods

Method Description
OnBuffering ( ValueProgressEventArgs e ) : void
OnCurrentSongChanged ( ValueChangedEventArgs e ) : void
OnCurrentSongCompleted ( SongEventArgs e ) : void
OnIsMutedChanged ( ValueChangedEventArgs e ) : void
OnIsPlayingChanged ( ValueChangedEventArgs e ) : void
OnProgress ( ValueProgressEventArgs e ) : void
OnVolumeChanged ( ValueChangedEventArgs e ) : void

Private Methods

Method Description
BufferStream ( SongData songData ) : void
PlayBuffer ( SongData songData ) : void

Method Details

CanPlay() public method

public CanPlay ( Song song ) : bool
song Song
return bool

GroovesharkSongPlayer() public method

public GroovesharkSongPlayer ( Lazy groove ) : System
groove Lazy
return System

OnBuffering() protected method

protected OnBuffering ( ValueProgressEventArgs e ) : void
e ValueProgressEventArgs
return void

OnCurrentSongChanged() protected method

protected OnCurrentSongChanged ( ValueChangedEventArgs e ) : void
e ValueChangedEventArgs
return void

OnCurrentSongCompleted() protected method

protected OnCurrentSongCompleted ( SongEventArgs e ) : void
e SongEventArgs
return void

OnIsMutedChanged() protected method

protected OnIsMutedChanged ( ValueChangedEventArgs e ) : void
e ValueChangedEventArgs
return void

OnIsPlayingChanged() protected method

protected OnIsPlayingChanged ( ValueChangedEventArgs e ) : void
e ValueChangedEventArgs
return void

OnProgress() protected method

protected OnProgress ( ValueProgressEventArgs e ) : void
e ValueProgressEventArgs
return void

OnVolumeChanged() protected method

protected OnVolumeChanged ( ValueChangedEventArgs e ) : void
e ValueChangedEventArgs
return void

Pause() public method

public Pause ( ) : void
return void

Play() public method

public Play ( ) : void
return void

Start() public method

public Start ( Song song ) : void
song Song
return void

Stop() public method

public Stop ( ) : void
return void