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

Inheritance: IAudioStream, IDisposable
Mostrar archivo Open project: scemino/nscumm Class Usage Examples

Private Properties

Property Type Description
CheckVOCHeader bool
FillBuffer int
PreProcess void
UpdateBlockIfNeeded void

Public Methods

Method Description
Dispose ( ) : void
GetSampleRateFromVOCRate ( int vocSR ) : int
ReadBuffer ( short buffer, int count ) : int
Rewind ( ) : bool
Seek ( Timestamp where ) : bool
Seek ( int where ) : bool
VocStream ( Stream stream, bool isUnsigned ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
CheckVOCHeader ( ) : bool
FillBuffer ( int maxSamples ) : int
PreProcess ( ) : void
UpdateBlockIfNeeded ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetSampleRateFromVOCRate() public static method

public static GetSampleRateFromVOCRate ( int vocSR ) : int
vocSR int
return int

ReadBuffer() public method

public ReadBuffer ( short buffer, int count ) : int
buffer short
count int
return int

Rewind() public method

public Rewind ( ) : bool
return bool

Seek() public method

public Seek ( Timestamp where ) : bool
where Timestamp
return bool

Seek() public method

public Seek ( int where ) : bool
where int
return bool

VocStream() public method

public VocStream ( Stream stream, bool isUnsigned ) : System
stream Stream
isUnsigned bool
return System