Xeno-rat
|
Represents the interface to a device that can play a WaveFile. More...
Public Member Functions | |
void | Play () |
Begin playback. | |
void | Stop () |
Stop playback. | |
void | Pause () |
Pause Playback. | |
void | Init (IWaveProvider waveProvider) |
Initialise playback. | |
Properties | |
float | Volume [get, set] |
The volume 1.0f is full scale Note that not all implementations necessarily support volume changes. | |
PlaybackState | PlaybackState [get] |
Current playback state. | |
WaveFormat | OutputWaveFormat [get] |
The WaveFormat this device is using for playback. | |
Events | |
EventHandler< StoppedEventArgs > | PlaybackStopped |
Indicates that playback has gone into a stopped state due to reaching the end of the input stream or an error has been encountered during playback. | |
Represents the interface to a device that can play a WaveFile.
void NAudio.Wave.IWavePlayer.Init | ( | IWaveProvider | waveProvider | ) |
Initialise playback.
waveProvider | The waveprovider to be played |
Implemented in NAudio.Wave.AsioOut, NAudio.Wave.DirectSoundOut, NAudio.Wave.WasapiOut, NAudio.Wave.WaveOut, and NAudio.Wave.WaveOutEvent.
void NAudio.Wave.IWavePlayer.Pause | ( | ) |
Pause Playback.
Implemented in NAudio.Wave.AsioOut, NAudio.Wave.DirectSoundOut, NAudio.Wave.WasapiOut, NAudio.Wave.WaveOut, and NAudio.Wave.WaveOutEvent.
void NAudio.Wave.IWavePlayer.Play | ( | ) |
Begin playback.
Implemented in NAudio.Wave.AsioOut, NAudio.Wave.DirectSoundOut, NAudio.Wave.WasapiOut, NAudio.Wave.WaveOut, and NAudio.Wave.WaveOutEvent.
void NAudio.Wave.IWavePlayer.Stop | ( | ) |
Stop playback.
Implemented in NAudio.Wave.AsioOut, NAudio.Wave.DirectSoundOut, NAudio.Wave.WasapiOut, NAudio.Wave.WaveOut, and NAudio.Wave.WaveOutEvent.
|
get |
The WaveFormat this device is using for playback.
Implemented in NAudio.Wave.AsioOut, NAudio.Wave.DirectSoundOut, NAudio.Wave.WasapiOut, NAudio.Wave.WaveOut, and NAudio.Wave.WaveOutEvent.
|
get |
Current playback state.
Implemented in NAudio.Wave.AsioOut, NAudio.Wave.DirectSoundOut, NAudio.Wave.WasapiOut, NAudio.Wave.WaveOut, and NAudio.Wave.WaveOutEvent.
|
getset |
The volume 1.0f is full scale Note that not all implementations necessarily support volume changes.
Implemented in NAudio.Wave.AsioOut, NAudio.Wave.DirectSoundOut, NAudio.Wave.WasapiOut, NAudio.Wave.WaveOut, and NAudio.Wave.WaveOutEvent.
EventHandler<StoppedEventArgs> NAudio.Wave.IWavePlayer.PlaybackStopped |
Indicates that playback has gone into a stopped state due to reaching the end of the input stream or an error has been encountered during playback.