quentinc.audio
Interface DistanceModel


public interface DistanceModel

Interface representing an algorythm for computing the actual sound volume corresponding to a given distance and reference distance.


Field Summary
static DistanceModel DEFAULT
           
static DistanceModel EXPONENTIAL
           
static DistanceModel LINEAR
           
 
Method Summary
 float getVolume(float distance, float reference)
           
 

Field Detail

EXPONENTIAL

static final DistanceModel EXPONENTIAL

LINEAR

static final DistanceModel LINEAR

DEFAULT

static final DistanceModel DEFAULT
Method Detail

getVolume

float getVolume(float distance,
                float reference)