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

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

Méthodes publiques

Méthode Description
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.

WaitForStop ( ) : void
WebStream ( ) : System

Initializes a new instance of the LocalDeviceStream class.

WebStream ( Socket skt ) : System

Initializes a new instance of the LocalDeviceStream class.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
Free ( ) : void

Free resource.

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

Method Details

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

WaitForStop() public méthode

public WaitForStop ( ) : void
Résultat void

WebStream() public méthode

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

WebStream() public méthode

Initializes a new instance of the LocalDeviceStream class.
public WebStream ( Socket skt ) : System
skt System.Net.Sockets.Socket socket, which provides audio data.
Résultat System