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

Inheritance: IAudioSource, IDisposable
Show file Open project: ispysoftware/iSpy

Public Methods

Method 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
iSpyServerStream ( ) : System

Initializes a new instance of the LocalDeviceStream class.

iSpyServerStream ( string source ) : System

Initializes a new instance of the LocalDeviceStream class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

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

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Start() public method

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
return void

Stop() public method

Stop audio source.

Stops audio source.

public Stop ( ) : void
return void

WaitForStop() public method

public WaitForStop ( ) : void
return void

iSpyServerStream() public method

Initializes a new instance of the LocalDeviceStream class.
public iSpyServerStream ( ) : System
return System

iSpyServerStream() public method

Initializes a new instance of the LocalDeviceStream class.
public iSpyServerStream ( string source ) : System
source string source, which provides audio data.
return System