C# Class NScumm.Sword1.Music

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

Public Methods

Method Description
Dispose ( ) : void
FadeDown ( ) : void
GiveVolume ( byte &volL, byte &volR ) : void
Music ( IMixer mixer, string directory ) : NScumm.Core
ReadBuffer ( short buffer, int numSamples ) : int
SetVolume ( byte volL, byte volR ) : void
StartMusic ( int tuneId, int loopFlag ) : void

Private Methods

Method Description
Mix ( short buf, int len ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

FadeDown() public method

public FadeDown ( ) : void
return void

GiveVolume() public method

public GiveVolume ( byte &volL, byte &volR ) : void
volL byte
volR byte
return void

Music() public method

public Music ( IMixer mixer, string directory ) : NScumm.Core
mixer IMixer
directory string
return NScumm.Core

ReadBuffer() public method

public ReadBuffer ( short buffer, int numSamples ) : int
buffer short
numSamples int
return int

SetVolume() public method

public SetVolume ( byte volL, byte volR ) : void
volL byte
volR byte
return void

StartMusic() public method

public StartMusic ( int tuneId, int loopFlag ) : void
tuneId int
loopFlag int
return void