Метод | Описание | |
---|---|---|
Dispose ( ) : void |
Dispose
|
|
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)
|
|
Init ( IWaveProvider waveProvider ) : void |
Initialize for playing the specified wave stream
|
|
Pause ( ) : void |
Stop playback without flushing buffers
|
|
Play ( ) : void |
Begin Playback
|
|
Stop ( ) : void |
Stop playback and flush buffers
|
|
WasapiOut ( AudioClientShareMode shareMode, bool useEventSync, int latency ) : System |
WASAPI Out using default audio endpoint
|
|
WasapiOut ( AudioClientShareMode shareMode, int latency ) : System |
WASAPI Out using default audio endpoint
|
|
WasapiOut ( |
Creates a new WASAPI Output
|
Метод | Описание | |
---|---|---|
FillBuffer ( IWaveProvider playbackProvider, int frameCount ) : void | ||
GetDefaultAudioEndpoint ( ) : |
||
PlayThread ( ) : void | ||
RaisePlaybackStopped ( |
public Init ( IWaveProvider waveProvider ) : void | ||
waveProvider | IWaveProvider | IWaveProvider to play |
Результат | void |
public WasapiOut ( AudioClientShareMode shareMode, bool useEventSync, int latency ) : System | ||
shareMode | AudioClientShareMode | ShareMode - shared or exclusive |
useEventSync | bool | true if sync is done with event. false use sleep. |
latency | int | Desired latency in milliseconds |
Результат | System |
public WasapiOut ( AudioClientShareMode shareMode, int latency ) : System | ||
shareMode | AudioClientShareMode | ShareMode - shared or exclusive |
latency | int | Desired latency in milliseconds |
Результат | System |
public WasapiOut ( |
||
device | Device to use | |
shareMode | AudioClientShareMode | |
useEventSync | bool | true if sync is done with event. false use sleep. |
latency | int | |
Результат | System |