C# 클래스 Fusion.Drivers.Audio.SoundEffect

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

공개 메소드들

메소드 설명
CreateInstance ( ) : SoundEffectInstance

Dispose ( ) : void

FromStream ( Stream stream ) : SoundEffect

Play ( ) : bool

Play ( float volume, float pitch, float pan ) : bool

SoundEffect ( AudioDevice device, byte buffer, int offset, int bytesCount, int sampleRate, AudioChannels channels, int loopStart, int loopLength ) : System

SoundEffect constructor

비공개 메소드들

메소드 설명
Initialize ( SharpDX.Multimedia.WaveFormat format, byte buffer, int offset, int count, int loopStart, int loopLength ) : void

메소드 상세

CreateInstance() 공개 메소드

public CreateInstance ( ) : SoundEffectInstance
리턴 SoundEffectInstance

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

FromStream() 공개 정적인 메소드

public static FromStream ( Stream stream ) : SoundEffect
stream Stream
리턴 SoundEffect

Play() 공개 메소드

public Play ( ) : bool
리턴 bool

Play() 공개 메소드

public Play ( float volume, float pitch, float pan ) : bool
volume float
pitch float
pan float
리턴 bool

SoundEffect() 공개 메소드

SoundEffect constructor
public SoundEffect ( AudioDevice device, byte buffer, int offset, int bytesCount, int sampleRate, AudioChannels channels, int loopStart, int loopLength ) : System
device AudioDevice
buffer byte sound data buffer
offset int
bytesCount int
sampleRate int
channels AudioChannels
loopStart int
loopLength int
리턴 System