Метод | Описание | |
---|---|---|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
Load ( Song song ) : void |
Loads the specified song into the LocalAudioPlayer. This is required before playing a new song.
|
|
LocalAudioPlayer ( ) : System |
Initializes a new instance of the LocalAudioPlayer class.
|
|
Pause ( ) : void |
Pauses the playback of the AudioPlayer.LoadedSong.
|
|
Play ( ) : void |
Starts or continues the playback of the AudioPlayer.LoadedSong.
|
|
Stop ( ) : void |
Stops the playback of the AudioPlayer.LoadedSong.
|
Метод | Описание | |
---|---|---|
CloseStream ( ) : void | ||
CreateInputStream ( Song song ) : void | ||
OpenMp3Stream ( Stream stream ) : NAudio.Wave.WaveChannel32 | ||
OpenSong ( Song song ) : void | ||
OpenWavStream ( Stream stream ) : NAudio.Wave.WaveChannel32 | ||
RenewWavePlayer ( ) : void | ||
UpdateSongState ( ) : void |
public Load ( Song song ) : void | ||
song | Song | The song to load into the player. |
Результат | void |