C# Class iSpyApplication.Sources.Audio.streams.DirectStream

Inheritance: IAudioSource, IDisposable
Afficher le fichier Open project: ispysoftware/iSpy Class Usage Examples

Méthodes publiques

Свойство Type Description
Interval int
PacketSize int

Méthodes publiques

Méthode Description
DirectStream ( ) : System

Initializes a new instance of the LocalDeviceStream class.

DirectStream ( Stream stream ) : System

Initializes a new instance of the LocalDeviceStream class.

Dispose ( ) : void
Start ( ) : void

Start audio source.

Starts audio source and return execution to caller. audio source object creates background thread and notifies about new frames with the help of DataAvailable event.

Stop ( ) : void

Stop audio source.

Stops audio source.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
DirectStreamListener ( ) : void
Free ( ) : void

Free resource.

SampleChannelPreVolumeMeter ( object sender, NAudio.Wave.SampleProviders.StreamVolumeEventArgs e ) : void

Method Details

DirectStream() public méthode

Initializes a new instance of the LocalDeviceStream class.
public DirectStream ( ) : System
Résultat System

DirectStream() public méthode

Initializes a new instance of the LocalDeviceStream class.
public DirectStream ( Stream stream ) : System
stream Stream source, which provides audio data.
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Start() public méthode

Start audio source.
Starts audio source and return execution to caller. audio source object creates background thread and notifies about new frames with the help of DataAvailable event.
audio source is not specified.
public Start ( ) : void
Résultat void

Stop() public méthode

Stop audio source.

Stops audio source.

public Stop ( ) : void
Résultat void

Property Details

Interval public_oe property

public int Interval
Résultat int

PacketSize public_oe property

public int PacketSize
Résultat int