C# Class NScumm.Core.Audio.SimpleRateConverter

Inheritance: IRateConverter
显示文件 Open project: scemino/nscumm

Public Methods

Method Description
Drain ( short obuf, int vol ) : int
Flow ( IAudioStream input, short obuf, int count, int volLeft, int volRight ) : int
SimpleRateConverter ( int inrate, int outrate, bool stereo, bool reverseStereo ) : System

Method Details

Drain() public method

public Drain ( short obuf, int vol ) : int
obuf short
vol int
return int

Flow() public method

public Flow ( IAudioStream input, short obuf, int count, int volLeft, int volRight ) : int
input IAudioStream
obuf short
count int
volLeft int
volRight int
return int

SimpleRateConverter() public method

public SimpleRateConverter ( int inrate, int outrate, bool stereo, bool reverseStereo ) : System
inrate int
outrate int
stereo bool
reverseStereo bool
return System