C# Class ArtofKinect.Common.SoundPlayer

Inheritance: IDisposable
Exibir arquivo Open project: JoshBlake/ArtOfKinectRecorder Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
Load ( string filename ) : void
LoadWavStream ( Stream stream ) : void
Play ( ) : void
Seek ( System.TimeSpan offset ) : void
SoundPlayer ( ) : System
Stop ( ) : void

Private Methods

Method Description
CreateInputStream ( Stream stream ) : ISampleProvider
CreateInputStream ( string fileName ) : ISampleProvider
CreateSampleStream ( WaveStream fileStream ) : ISampleProvider
Dispose ( bool disposing ) : void
OpenWavFile ( string fileName ) : WaveStream
OpenWavStream ( Stream stream ) : WaveStream
SoundWorker ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Load() public method

public Load ( string filename ) : void
filename string
return void

LoadWavStream() public method

public LoadWavStream ( Stream stream ) : void
stream Stream
return void

Play() public method

public Play ( ) : void
return void

Seek() public method

public Seek ( System.TimeSpan offset ) : void
offset System.TimeSpan
return void

SoundPlayer() public method

public SoundPlayer ( ) : System
return System

Stop() public method

public Stop ( ) : void
return void