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

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

Public Properties

Property Type Description
BytePacket int
OutAudio IAudioSource
Seekable bool
Time long
TimeOut int

Public Methods

Method Description
CheckTimestamp ( ) : void
Dispose ( ) : void
EventsDurationChanged ( object sender, Declarations.Events.MediaDurationChange e ) : void
EventsStateChanged ( object sender, Declarations.Events.MediaStateChange e ) : void
EventsTimeChanged ( object sender, Declarations.Events.MediaPlayerTimeChanged e ) : void
Handler ( Exception ex ) : void
SampleChannelPreVolumeMeter ( object sender, NAudio.Wave.SampleProviders.StreamVolumeEventArgs e ) : void
Seek ( float percentage ) : void
SignalToStop ( ) : void

Calls Stop

Start ( ) : void
Stop ( ) : void
Stop ( bool requested ) : void

Stop video source.

VLCStream ( ) : System

Initializes a new instance of the VLCStream class.

VLCStream ( string source, string arguments ) : System

Initializes a new instance of the VLCStream class.

WaitForStop ( ) : void

Calls Stop

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
DisposePlayer ( ) : void
SoundCallback ( Declarations.Sound soundData ) : void
SoundFormatCallback ( Declarations.SoundFormat sf ) : Declarations.SoundFormat
ToStereo ( byte input, int fromChannels ) : byte[]
WorkerThread ( ) : void

Method Details

CheckTimestamp() public method

public CheckTimestamp ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

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

EventsDurationChanged() public method

public EventsDurationChanged ( object sender, Declarations.Events.MediaDurationChange e ) : void
sender object
e Declarations.Events.MediaDurationChange
return void

EventsStateChanged() public method

public EventsStateChanged ( object sender, Declarations.Events.MediaStateChange e ) : void
sender object
e Declarations.Events.MediaStateChange
return void

EventsTimeChanged() public method

public EventsTimeChanged ( object sender, Declarations.Events.MediaPlayerTimeChanged e ) : void
sender object
e Declarations.Events.MediaPlayerTimeChanged
return void

Handler() public method

public Handler ( Exception ex ) : void
ex System.Exception
return void

SampleChannelPreVolumeMeter() public method

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

Seek() public method

public Seek ( float percentage ) : void
percentage float
return void

SignalToStop() public method

Calls Stop
public SignalToStop ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Stop() public method

Stop video source.
public Stop ( bool requested ) : void
requested bool
return void

VLCStream() public method

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

VLCStream() public method

Initializes a new instance of the VLCStream class.
public VLCStream ( string source, string arguments ) : System
source string URL, which provides VLCstream.
arguments string
return System

WaitForStop() public method

Calls Stop
public WaitForStop ( ) : void
return void

Property Details

BytePacket public property

public int BytePacket
return int

OutAudio public property

public IAudioSource OutAudio
return IAudioSource

Seekable public property

public bool Seekable
return bool

Time public property

public long Time
return long

TimeOut public property

public int TimeOut
return int