C# Class NVorbis.VorbisReader

Inheritance: IDisposable
Afficher le fichier Open project: gregzo/G-Audio Class Usage Examples

Private Properties

Свойство Type Description
LoadContainer bool
NewStream void
VorbisReader System

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
LoadContainer ( IContainerReader containerReader ) : bool
NewStream ( object sender, NewStreamEventArgs ea ) : void
VorbisReader ( ) : System

Method Details

ClearParameterChange() public méthode

Clears the parameter change flag so further samples can be requested.
public ClearParameterChange ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

FindNextStream() public méthode

Searches for the next stream in a concatenated file
public FindNextStream ( ) : bool
Résultat bool

ReadSamples() public méthode

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
Résultat int

SwitchStreams() public méthode

Switches to an alternate logical stream.
public SwitchStreams ( int index ) : bool
index int The logical stream index to switch to
Résultat bool

VorbisReader() public méthode

public VorbisReader ( IContainerReader containerReader ) : System
containerReader IContainerReader
Résultat System

VorbisReader() public méthode

public VorbisReader ( IPacketProvider packetProvider ) : System
packetProvider IPacketProvider
Résultat System

VorbisReader() public méthode

public VorbisReader ( Stream stream, bool closeStreamOnDispose ) : System
stream Stream
closeStreamOnDispose bool
Résultat System

VorbisReader() public méthode

public VorbisReader ( string fileName ) : System
fileName string
Résultat System