C# 클래스 NScumm.Scumm.Sound

상속: ISoundRepository
파일 보기 프로젝트 열기: scemino/nscumm 1 사용 예제들

공개 메소드들

메소드 설명
AddSoundToQueue ( int sound ) : void
IsSoundInUse ( int sound ) : bool

Check whether the sound resource with the specified ID is still used.This is invoked by ScummEngine::isResourceInUse, to determine which resources can be expired from memory. Technically, this works very similar to isSoundRunning, however it calls IMuse::get_sound_active() instead of IMuse::getSoundStatus(). The difference between those two is in how they treat sounds which are being faded out: get_sound_active() returns true even when the sound is being faded out, while getSoundStatus() returns false in that case.

IsSoundRunning ( int snd ) : bool
OnCDTimer ( object sender ) : void
PauseSounds ( bool pause ) : void
PlayCDTrack ( int track, int numLoops, int startFrame, int duration ) : void
PlaySound ( int soundID ) : void
PollCD ( ) : int
ProcessSfxQueues ( ) : void
ProcessSound ( ) : void
ProcessSoundQueue ( ) : void
SaveOrLoad ( Serializer serializer ) : void
SetupSfxFile ( ) : void
SetupSound ( ) : void
Sound ( ScummEngine vm, IMixer mixer ) : System
SoundKludge ( int items ) : void
StartCDTimer ( ) : void
StopAllSounds ( ) : void
StopCD ( ) : void
StopCDTimer ( ) : void
StopSound ( int sound ) : void
StopTalkSound ( ) : void
TalkSound ( int a, int b, int mode, int channel ) : void

비공개 메소드들

메소드 설명
ISoundRepository ( int id ) : byte[]
IsMouthSyncOff ( int pos ) : bool
IsSfxFinished ( ) : bool
IsSoundInQueue ( int sound ) : bool
StartTalkSound ( int offset, int b, int mode ) : SoundHandle

메소드 상세

AddSoundToQueue() 공개 메소드

public AddSoundToQueue ( int sound ) : void
sound int
리턴 void

IsSoundInUse() 공개 메소드

Check whether the sound resource with the specified ID is still used.This is invoked by ScummEngine::isResourceInUse, to determine which resources can be expired from memory. Technically, this works very similar to isSoundRunning, however it calls IMuse::get_sound_active() instead of IMuse::getSoundStatus(). The difference between those two is in how they treat sounds which are being faded out: get_sound_active() returns true even when the sound is being faded out, while getSoundStatus() returns false in that case.
public IsSoundInUse ( int sound ) : bool
sound int
리턴 bool

IsSoundRunning() 공개 메소드

public IsSoundRunning ( int snd ) : bool
snd int
리턴 bool

OnCDTimer() 공개 메소드

public OnCDTimer ( object sender ) : void
sender object
리턴 void

PauseSounds() 공개 메소드

public PauseSounds ( bool pause ) : void
pause bool
리턴 void

PlayCDTrack() 공개 메소드

public PlayCDTrack ( int track, int numLoops, int startFrame, int duration ) : void
track int
numLoops int
startFrame int
duration int
리턴 void

PlaySound() 공개 메소드

public PlaySound ( int soundID ) : void
soundID int
리턴 void

PollCD() 공개 메소드

public PollCD ( ) : int
리턴 int

ProcessSfxQueues() 공개 메소드

public ProcessSfxQueues ( ) : void
리턴 void

ProcessSound() 공개 메소드

public ProcessSound ( ) : void
리턴 void

ProcessSoundQueue() 공개 메소드

public ProcessSoundQueue ( ) : void
리턴 void

SaveOrLoad() 공개 메소드

public SaveOrLoad ( Serializer serializer ) : void
serializer NScumm.Scumm.IO.Serializer
리턴 void

SetupSfxFile() 공개 메소드

public SetupSfxFile ( ) : void
리턴 void

SetupSound() 공개 메소드

public SetupSound ( ) : void
리턴 void

Sound() 공개 메소드

public Sound ( ScummEngine vm, IMixer mixer ) : System
vm ScummEngine
mixer IMixer
리턴 System

SoundKludge() 공개 메소드

public SoundKludge ( int items ) : void
items int
리턴 void

StartCDTimer() 공개 메소드

public StartCDTimer ( ) : void
리턴 void

StopAllSounds() 공개 메소드

public StopAllSounds ( ) : void
리턴 void

StopCD() 공개 메소드

public StopCD ( ) : void
리턴 void

StopCDTimer() 공개 메소드

public StopCDTimer ( ) : void
리턴 void

StopSound() 공개 메소드

public StopSound ( int sound ) : void
sound int
리턴 void

StopTalkSound() 공개 메소드

public StopTalkSound ( ) : void
리턴 void

TalkSound() 공개 메소드

public TalkSound ( int a, int b, int mode, int channel ) : void
a int
b int
mode int
channel int
리턴 void