C# Class NScumm.Core.Audio.Decoders.RawStream

This is a stream, which allows for playing raw PCM data from a stream.
Inheritance: ISeekableAudioStream
Afficher le fichier Open project: scemino/nscumm Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
RawStream ( AudioFlags flags, int rate, bool disposeStream, Stream stream ) : System
ReadBuffer ( short buffer, int count ) : int
Rewind ( ) : bool
Seek ( Timestamp wh ) : bool

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
FillBuffer ( int maxSamples ) : int
ReadEndianSample ( byte ptr, int offset ) : short

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

RawStream() public méthode

public RawStream ( AudioFlags flags, int rate, bool disposeStream, Stream stream ) : System
flags AudioFlags
rate int
disposeStream bool
stream Stream
Résultat System

ReadBuffer() public méthode

public ReadBuffer ( short buffer, int count ) : int
buffer short
count int
Résultat int

Rewind() public méthode

public Rewind ( ) : bool
Résultat bool

Seek() public méthode

public Seek ( Timestamp wh ) : bool
wh Timestamp
Résultat bool