C# Class ManagedBass.Silence

Plays Silence on the specified Device. Useful for WasapiLoopbackCapture.
Inheritance: IDisposable
Afficher le fichier Open project: ManagedBass/ManagedBass Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Dispose all resources used by this instance.
public Dispose ( ) : void
Résultat void

Play() public méthode

Play Silence.
public Play ( ) : bool
Résultat bool

Silence() public méthode

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

Stop() public méthode

Stop playing Silence.
public Stop ( ) : bool
Résultat bool