C# Class NScumm.Sky.Music.MusicBase

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

Protected Properties

Property Type Description
_channels IChannelBase[]
_currentMusic byte
_driverFileBase ushort
_mixer NScumm.Core.Audio.Mixer
_musicData byte[]
_musicDataLoc ushort
_musicVolume ushort

Public Methods

Method Description
Dispose ( ) : void
LoadSection ( byte pSection ) : void
StartMusic ( ushort param ) : void
StopMusic ( ) : void

Protected Methods

Method Description
LoadNewMusic ( ) : void
MusicBase ( Mixer mixer, Disk disk ) : System
PollMusic ( ) : void
SetVolume ( ushort value ) : void
SetupChannels ( byte channelData, int offset ) : void
SetupPointers ( ) : void
StartDriver ( ) : void
StopMusicInternal ( ) : void
UpdateTempo ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

LoadNewMusic() protected method

protected LoadNewMusic ( ) : void
return void

LoadSection() public method

public LoadSection ( byte pSection ) : void
pSection byte
return void

MusicBase() protected method

protected MusicBase ( Mixer mixer, Disk disk ) : System
mixer NScumm.Core.Audio.Mixer
disk Disk
return System

PollMusic() protected method

protected PollMusic ( ) : void
return void

SetVolume() protected abstract method

protected abstract SetVolume ( ushort value ) : void
value ushort
return void

SetupChannels() protected abstract method

protected abstract SetupChannels ( byte channelData, int offset ) : void
channelData byte
offset int
return void

SetupPointers() protected abstract method

protected abstract SetupPointers ( ) : void
return void

StartDriver() protected abstract method

protected abstract StartDriver ( ) : void
return void

StartMusic() public method

public StartMusic ( ushort param ) : void
param ushort
return void

StopMusic() public method

public StopMusic ( ) : void
return void

StopMusicInternal() protected method

protected StopMusicInternal ( ) : void
return void

UpdateTempo() protected method

protected UpdateTempo ( ) : void
return void

Property Details

_channels protected_oe property

protected IChannelBase[] _channels
return IChannelBase[]

_currentMusic protected_oe property

protected byte _currentMusic
return byte

_driverFileBase protected_oe property

protected ushort _driverFileBase
return ushort

_mixer protected_oe property

protected Mixer,NScumm.Core.Audio _mixer
return NScumm.Core.Audio.Mixer

_musicData protected_oe property

protected byte[] _musicData
return byte[]

_musicDataLoc protected_oe property

protected ushort _musicDataLoc
return ushort

_musicVolume protected_oe property

protected ushort _musicVolume
return ushort