C# Class OpenRA.Mods.Common.AudioLoaders.VocFormat

Inheritance: ISoundFormat
Mostra file Open project: pchote/OpenRA Class Usage Examples

Private Properties

Property Type Description
CheckVocHeader void
FillBuffer int
GetSampleRateFromVocRate int
Preload void
Read int
Rewind void
UpdateBlockIfNeeded void

Public Methods

Method Description
GetPCMInputStream ( ) : Stream
VocFormat ( Stream stream ) : System

Private Methods

Method Description
CheckVocHeader ( ) : void
FillBuffer ( int maxSamples ) : int
GetSampleRateFromVocRate ( int vocSampleRate ) : int
Preload ( ) : void
Read ( byte buffer, int offset, int count ) : int
Rewind ( ) : void
UpdateBlockIfNeeded ( ) : void

Method Details

GetPCMInputStream() public method

public GetPCMInputStream ( ) : Stream
return Stream

VocFormat() public method

public VocFormat ( Stream stream ) : System
stream Stream
return System