C# Class NScumm.Scumm.Smush.SmushChannel

Mostrar archivo Open project: scemino/nscumm Class Usage Examples

Protected Properties

Property Type Description
_dataSize int
_inData bool
_pan int
_sbuffer byte[]
_sbufferSize int
_tbuffer byte[]
_tbufferSize int
_track int
_volume int

Public Methods

Method Description
AppendData ( BinaryReader b, int size ) : bool
CheckParameters ( int index, int nb, int flags, int volume, int pan ) : bool
GetParameters ( bool &stereo, bool &is_16bit, int &vol, int &pan ) : bool
GetSoundData ( ) : byte[]
SetParameters ( int nb, int flags, int volume, int pan, int index ) : bool

Protected Methods

Method Description
HandleSubTags ( int &offset ) : bool
ProcessBuffer ( ) : void
SmushChannel ( int track ) : System

Method Details

AppendData() public abstract method

public abstract AppendData ( BinaryReader b, int size ) : bool
b System.IO.BinaryReader
size int
return bool

CheckParameters() public abstract method

public abstract CheckParameters ( int index, int nb, int flags, int volume, int pan ) : bool
index int
nb int
flags int
volume int
pan int
return bool

GetParameters() public abstract method

public abstract GetParameters ( bool &stereo, bool &is_16bit, int &vol, int &pan ) : bool
stereo bool
is_16bit bool
vol int
pan int
return bool

GetSoundData() public abstract method

public abstract GetSoundData ( ) : byte[]
return byte[]

HandleSubTags() protected abstract method

protected abstract HandleSubTags ( int &offset ) : bool
offset int
return bool

ProcessBuffer() protected method

protected ProcessBuffer ( ) : void
return void

SetParameters() public abstract method

public abstract SetParameters ( int nb, int flags, int volume, int pan, int index ) : bool
nb int
flags int
volume int
pan int
index int
return bool

SmushChannel() protected method

protected SmushChannel ( int track ) : System
track int
return System

Property Details

_dataSize protected_oe property

Remaining size of sound data in the iMUS buffer.
protected int _dataSize
return int

_inData protected_oe property

protected bool _inData
return bool

_pan protected_oe property

protected int _pan
return int

_sbuffer protected_oe property

Sound buffer.
protected byte[] _sbuffer
return byte[]

_sbufferSize protected_oe property

Sound buffer size.
protected int _sbufferSize
return int

_tbuffer protected_oe property

Data temporary buffer.
protected byte[] _tbuffer
return byte[]

_tbufferSize protected_oe property

Temporary buffer size.
protected int _tbufferSize
return int

_track protected_oe property

The track number.
protected int _track
return int

_volume protected_oe property

protected int _volume
return int