C# 클래스 Microsoft.Xna.Framework.Audio.DynamicSoundEffectInstance

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

공개 메소드들

메소드 설명
Apply3D ( Microsoft.Xna.Framework.Audio.AudioListener listener, Microsoft.Xna.Framework.Audio.AudioEmitter emitter ) : void
Dispose ( ) : void
DynamicSoundEffectInstance ( int sampleRate, AudioChannels channels ) : System
GetSampleDuration ( int sizeInBytes ) : System.TimeSpan
GetSampleSizeInBytes ( System.TimeSpan duration ) : int
Pause ( ) : void
Play ( ) : void
Stop ( ) : void
Stop ( bool immediate ) : void
SubmitBuffer ( byte buffer, int count ) : void
SubmitBuffer ( byte buffer, int offset, int count ) : void

비공개 메소드들

메소드 설명
BufferFiller ( ) : void
OnBufferNeeded ( EventArgs args ) : void
XnaPitchToAlPitch ( float pitch ) : float

메소드 상세

Apply3D() 공개 메소드

public Apply3D ( Microsoft.Xna.Framework.Audio.AudioListener listener, Microsoft.Xna.Framework.Audio.AudioEmitter emitter ) : void
listener Microsoft.Xna.Framework.Audio.AudioListener
emitter Microsoft.Xna.Framework.Audio.AudioEmitter
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

DynamicSoundEffectInstance() 공개 메소드

public DynamicSoundEffectInstance ( int sampleRate, AudioChannels channels ) : System
sampleRate int
channels AudioChannels
리턴 System

GetSampleDuration() 공개 메소드

public GetSampleDuration ( int sizeInBytes ) : System.TimeSpan
sizeInBytes int
리턴 System.TimeSpan

GetSampleSizeInBytes() 공개 메소드

public GetSampleSizeInBytes ( System.TimeSpan duration ) : int
duration System.TimeSpan
리턴 int

Pause() 공개 메소드

public Pause ( ) : void
리턴 void

Play() 공개 메소드

public Play ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( bool immediate ) : void
immediate bool
리턴 void

SubmitBuffer() 공개 메소드

public SubmitBuffer ( byte buffer, int count ) : void
buffer byte
count int
리턴 void

SubmitBuffer() 공개 메소드

public SubmitBuffer ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
리턴 void