C# Class Translate.Services.Audio.WavParser

Class WavParser Parses a standard WAVE file
Inheritance: RiffParser
Datei anzeigen Open project: nikhilk/silverlightfx Class Usage Examples

Public Methods

Method Description
ParseWaveHeader ( ) : void

Parses the RIFF WAVE header. .wav files should look like this: RIFF ('WAVE' 'fmt ' = WAVEFORMATEX structure 'data' = audio data )

WavParser ( Stream stream ) : System

Initializes a new instance of the WavParser class.

Private Methods

Method Description
ReadFormatBlock ( ) : void

Read the format block from the file and construct the WAVEFORMATEX structure

Method Details

ParseWaveHeader() public method

Parses the RIFF WAVE header. .wav files should look like this: RIFF ('WAVE' 'fmt ' = WAVEFORMATEX structure 'data' = audio data )
public ParseWaveHeader ( ) : void
return void

WavParser() public method

Initializes a new instance of the WavParser class.
public WavParser ( Stream stream ) : System
stream Stream A stream that contains the Wave data
return System