C# Class ManagedBass.Silence

Plays Silence on the specified Device. Useful for WasapiLoopbackCapture.
Inheritance: IDisposable
ファイルを表示 Open project: ManagedBass/ManagedBass Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Dispose all resources used by this instance.

Play ( ) : bool

Play Silence.

Silence ( PlaybackDevice Device ) : System

Creates a new instance of Silence.

Stop ( ) : bool

Stop playing Silence.

Method Details

Dispose() public method

Dispose all resources used by this instance.
public Dispose ( ) : void
return void

Play() public method

Play Silence.
public Play ( ) : bool
return bool

Silence() public method

Creates a new instance of Silence.
public Silence ( PlaybackDevice Device ) : System
Device PlaybackDevice The to use.
return System

Stop() public method

Stop playing Silence.
public Stop ( ) : bool
return bool