C# 클래스 ManicDigger.AudioOpenAl

파일 보기 프로젝트 열기: henon/manic_digger 1 사용 예제들

공개 메소드들

메소드 설명
AudioOpenAl ( ) : System
GetSoundFormat ( int channels, int bits ) : OpenTK.Audio.OpenAL.ALFormat
LoadWave ( Stream stream, int &channels, int &bits, int &rate ) : byte[]
Play ( string filename ) : void
PlayAudioLoop ( string filename, bool play ) : void
PlayAudioLoop ( string filename, bool play, bool restart ) : void

메소드 상세

AudioOpenAl() 공개 메소드

public AudioOpenAl ( ) : System
리턴 System

GetSoundFormat() 공개 정적인 메소드

public static GetSoundFormat ( int channels, int bits ) : OpenTK.Audio.OpenAL.ALFormat
channels int
bits int
리턴 OpenTK.Audio.OpenAL.ALFormat

LoadWave() 공개 정적인 메소드

public static LoadWave ( Stream stream, int &channels, int &bits, int &rate ) : byte[]
stream Stream
channels int
bits int
rate int
리턴 byte[]

Play() 공개 메소드

public Play ( string filename ) : void
filename string
리턴 void

PlayAudioLoop() 공개 메소드

public PlayAudioLoop ( string filename, bool play ) : void
filename string
play bool
리턴 void

PlayAudioLoop() 공개 메소드

public PlayAudioLoop ( string filename, bool play, bool restart ) : void
filename string
play bool
restart bool
리턴 void