C# Class OpenRA.FileFormats.VocFormat

Inheritance: ISoundFormat
Show file Open project: cjshmyr/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