Method | Description | |
---|---|---|
AudioRenderer ( ) : NAudio.Wave |
Initializes a new instance of the AudioRenderer class.
|
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
Initialize ( IAudioDataProvider provider, int sampleRate, int channels, int bitsPerSample ) : bool |
Initializes the specified provider.
|
|
Pause ( ) : void |
Pauses the underlying audio device
|
|
Play ( ) : void |
Plays the underlying audio device
|
|
Stop ( ) : void |
Stops the underlying audio device
|
public Initialize ( IAudioDataProvider provider, int sampleRate, int channels, int bitsPerSample ) : bool | ||
provider | IAudioDataProvider | The provider. |
sampleRate | int | The sample rate. |
channels | int | The channels. |
bitsPerSample | int | The bits per sample. |
return | bool |