C# Class NScumm.Scumm.Smush.ImuseChannel

Inheritance: SmushChannel
Mostra file Open project: scemino/nscumm Class Usage Examples

Public Methods

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

Protected Methods

Method Description
HandleSubTags ( int &offset ) : bool

Private Methods

Method Description
HandleMap ( byte data ) : bool

Method Details

AppendData() public method

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

CheckParameters() public method

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

Decode() public method

public Decode ( ) : void
return void

GetParameters() public method

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

GetSoundData() public method

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

HandleSubTags() protected method

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

ImuseChannel() public method

public ImuseChannel ( int track ) : System
track int
return System

SetParameters() public method

public SetParameters ( int nb, int size, int flags, int unk1, int tmp ) : bool
nb int
size int
flags int
unk1 int
tmp int
return bool