C# Класс NVorbis.VorbisReader

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
LoadContainer bool
NewStream void
VorbisReader System

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

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

Clears the parameter change flag so further samples can be requested.

Dispose ( ) : void
FindNextStream ( ) : bool

Searches for the next stream in a concatenated file

ReadSamples ( float buffer, int offset, int count ) : int

Reads decoded samples from the current logical stream

SwitchStreams ( int index ) : bool

Switches to an alternate logical stream.

VorbisReader ( IContainerReader containerReader ) : System
VorbisReader ( IPacketProvider packetProvider ) : System
VorbisReader ( Stream stream, bool closeStreamOnDispose ) : System
VorbisReader ( string fileName ) : System

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

Метод Описание
LoadContainer ( IContainerReader containerReader ) : bool
NewStream ( object sender, NewStreamEventArgs ea ) : void
VorbisReader ( ) : System

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

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

Clears the parameter change flag so further samples can be requested.
public ClearParameterChange ( ) : void
Результат void

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

public Dispose ( ) : void
Результат void

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

Searches for the next stream in a concatenated file
public FindNextStream ( ) : bool
Результат bool

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

Reads decoded samples from the current logical stream
public ReadSamples ( float buffer, int offset, int count ) : int
buffer float The buffer to write the samples to
offset int The offset into the buffer to write the samples to
count int The number of samples to write
Результат int

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

Switches to an alternate logical stream.
public SwitchStreams ( int index ) : bool
index int The logical stream index to switch to
Результат bool

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

public VorbisReader ( IContainerReader containerReader ) : System
containerReader IContainerReader
Результат System

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

public VorbisReader ( IPacketProvider packetProvider ) : System
packetProvider IPacketProvider
Результат System

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

public VorbisReader ( Stream stream, bool closeStreamOnDispose ) : System
stream Stream
closeStreamOnDispose bool
Результат System

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

public VorbisReader ( string fileName ) : System
fileName string
Результат System