C# Класс Translate.Services.Audio.WavParser

Class WavParser Parses a standard WAVE file
Наследование: RiffParser
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
ReadFormatBlock ( ) : void

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

Описание методов

ParseWaveHeader() публичный Метод

Parses the RIFF WAVE header. .wav files should look like this: RIFF ('WAVE' 'fmt ' = WAVEFORMATEX structure 'data' = audio data )
public ParseWaveHeader ( ) : void
Результат void

WavParser() публичный Метод

Initializes a new instance of the WavParser class.
public WavParser ( Stream stream ) : System
stream Stream A stream that contains the Wave data
Результат System