C# Class VixenModules.Media.Audio.Audio

Inheritance: MediaModuleInstanceBase, ITiming
显示文件 Open project: sall/vixen-modules Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
GetSamples ( int startSample, int numSamples ) : byte[]

Get the number samples as a byte array from the starting sample.

LoadMedia ( System.TimeSpan startTime ) : void
Pause ( ) : void
Resume ( ) : void
Start ( ) : void
Stop ( ) : void

Private Methods

Method Description
_DisposeAudio ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetSamples() public method

Get the number samples as a byte array from the starting sample.
public GetSamples ( int startSample, int numSamples ) : byte[]
startSample int 0 based starting sample
numSamples int Number of samples to include in the byte array
return byte[]

LoadMedia() public method

public LoadMedia ( System.TimeSpan startTime ) : void
startTime System.TimeSpan
return void

Pause() public method

public Pause ( ) : void
return void

Resume() public method

public Resume ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void