C# 클래스 NScumm.Core.Audio.Paula

Emulation of the "Paula" Amiga music chip The interrupt frequency specifies the number of mixed wavesamples between calls of the interrupt method
상속: IAudioStream
파일 보기 프로젝트 열기: scemino/nscumm

보호된 프로퍼티들

프로퍼티 타입 설명
_mutex object

Private Properties

프로퍼티 타입 설명
CreateVoices Channel[]
GetChannelOffset Offset
MixBuffer int
ReadBufferIntern int

공개 메소드들

메소드 설명
ClearVoice ( int voice ) : void
ClearVoices ( ) : void
Dispose ( ) : void
PausePlay ( bool pause ) : void
ReadBuffer ( short buffer, int count ) : int
SetChannelData ( int channel, byte data, byte dataRepeat, int length, int lengthRepeat, int offset ) : void
SetChannelOffset ( int channel, Offset offset ) : void
SetChannelPanning ( int channel, byte panning ) : void
StartPlay ( ) : void
StopPlay ( ) : void

보호된 메소드들

메소드 설명
DisableChannel ( int channel ) : void
Dispose ( bool disposing ) : void
EnableChannel ( int channel ) : void
GetChannelDmaCount ( int channel ) : int
Interrupt ( ) : void
Paula ( bool stereo = false, int rate = 44100, uint interruptFreq ) : System
SetAudioFilter ( bool enable ) : void
SetChannelDmaCount ( int channel, int dmaVal ) : void
SetChannelPeriod ( int channel, short period ) : void
SetChannelSampleLen ( int channel, int length ) : void
SetChannelSampleStart ( int channel, byte data ) : void
SetChannelVolume ( int channel, byte volume ) : void
StartPaula ( ) : void
StopPaula ( ) : void

비공개 메소드들

메소드 설명
CreateVoices ( ) : Channel[]
GetChannelOffset ( int channel ) : Offset
MixBuffer ( bool stereo, short buf, int &bufOffset, byte data, Offset offset, int rate, int neededSamples, int bufSize, byte volume, byte panning ) : int
ReadBufferIntern ( bool stereo, short buffer, int count ) : int

메소드 상세

ClearVoice() 공개 메소드

public ClearVoice ( int voice ) : void
voice int
리턴 void

ClearVoices() 공개 메소드

public ClearVoices ( ) : void
리턴 void

DisableChannel() 보호된 메소드

protected DisableChannel ( int channel ) : void
channel int
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

EnableChannel() 보호된 메소드

protected EnableChannel ( int channel ) : void
channel int
리턴 void

GetChannelDmaCount() 보호된 메소드

protected GetChannelDmaCount ( int channel ) : int
channel int
리턴 int

Interrupt() 보호된 추상적인 메소드

protected abstract Interrupt ( ) : void
리턴 void

Paula() 보호된 메소드

protected Paula ( bool stereo = false, int rate = 44100, uint interruptFreq ) : System
stereo bool
rate int
interruptFreq uint
리턴 System

PausePlay() 공개 메소드

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

ReadBuffer() 공개 메소드

public ReadBuffer ( short buffer, int count ) : int
buffer short
count int
리턴 int

SetAudioFilter() 보호된 메소드

protected SetAudioFilter ( bool enable ) : void
enable bool
리턴 void

SetChannelData() 공개 메소드

public SetChannelData ( int channel, byte data, byte dataRepeat, int length, int lengthRepeat, int offset ) : void
channel int
data byte
dataRepeat byte
length int
lengthRepeat int
offset int
리턴 void

SetChannelDmaCount() 보호된 메소드

protected SetChannelDmaCount ( int channel, int dmaVal ) : void
channel int
dmaVal int
리턴 void

SetChannelOffset() 공개 메소드

public SetChannelOffset ( int channel, Offset offset ) : void
channel int
offset Offset
리턴 void

SetChannelPanning() 공개 메소드

public SetChannelPanning ( int channel, byte panning ) : void
channel int
panning byte
리턴 void

SetChannelPeriod() 보호된 메소드

protected SetChannelPeriod ( int channel, short period ) : void
channel int
period short
리턴 void

SetChannelSampleLen() 보호된 메소드

protected SetChannelSampleLen ( int channel, int length ) : void
channel int
length int
리턴 void

SetChannelSampleStart() 보호된 메소드

protected SetChannelSampleStart ( int channel, byte data ) : void
channel int
data byte
리턴 void

SetChannelVolume() 보호된 메소드

protected SetChannelVolume ( int channel, byte volume ) : void
channel int
volume byte
리턴 void

StartPaula() 보호된 메소드

protected StartPaula ( ) : void
리턴 void

StartPlay() 공개 메소드

public StartPlay ( ) : void
리턴 void

StopPaula() 보호된 메소드

protected StopPaula ( ) : void
리턴 void

StopPlay() 공개 메소드

public StopPlay ( ) : void
리턴 void

프로퍼티 상세

_mutex 보호되어 있는 프로퍼티

protected object _mutex
리턴 object