C# Class OpenTKEngine.Playback

显示文件 Open project: jikoriko/OpentkEngine

Public Methods

Method Description
GetSoundFormat ( int channels, int bits ) : ALFormat
LoadWave ( Stream stream, int &channels, int &bits, int &rate, int &chunkSize ) : byte[]

Method Details

GetSoundFormat() public static method

public static GetSoundFormat ( int channels, int bits ) : ALFormat
channels int
bits int
return ALFormat

LoadWave() public static method

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