Method | Description | |
---|---|---|
Dispose ( ) : void |
Closes this WaveOut device
|
|
GetCapabilities ( int devNumber ) : NAudio.Wave.WaveOutCapabilities |
Retrieves the capabilities of a waveOut device
|
|
GetPosition ( ) : long |
Gets the current position in bytes from the wave output device. (n.b. this is not the same thing as the position within your reader stream - it calls directly into waveOutGetPosition)
|
|
Init ( IWaveProvider waveProvider ) : void |
Initialises the WaveOut device
|
|
Pause ( ) : void |
Pause the audio
|
|
Play ( ) : void |
Start playing the audio from the WaveStream
|
|
Resume ( ) : void |
Resume playing after a pause from the same position
|
|
Stop ( ) : void |
Stop and reset the WaveOut device
|
|
WaveOut ( ) : System |
Creates a default WaveOut device Will use window callbacks if called from a GUI thread, otherwise function callbacks
|
|
WaveOut ( |
Creates a WaveOut device using the specified window handle for callbacks
|
|
WaveOut ( NAudio.Wave.WaveCallbackInfo callbackInfo ) : System |
Opens a WaveOut device
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Closes the WaveOut device and disposes of buffers
|
Method | Description | |
---|---|---|
Callback ( |
||
EnqueueBuffers ( ) : void | ||
RaisePlaybackStoppedEvent ( |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | True if called from |
return | void |
public static GetCapabilities ( int devNumber ) : NAudio.Wave.WaveOutCapabilities | ||
devNumber | int | Device to test |
return | NAudio.Wave.WaveOutCapabilities |
public Init ( IWaveProvider waveProvider ) : void | ||
waveProvider | IWaveProvider | WaveProvider to play |
return | void |
public WaveOut ( |
||
windowHandle | A valid window handle | |
return | System |
public WaveOut ( NAudio.Wave.WaveCallbackInfo callbackInfo ) : System | ||
callbackInfo | NAudio.Wave.WaveCallbackInfo | |
return | System |