int to float conversion in the constructor

This commit is contained in:
Stephen Birarda 2014-03-21 14:38:01 -07:00
parent 98f014d13d
commit c99f5a4ae6

View file

@ -66,7 +66,7 @@ void attachNewBufferToNode(Node *newNode) {
AudioMixer::AudioMixer(const QByteArray& packet) :
ThreadedAssignment(packet),
_trailingSleepRatio(1.0f),
_minAudibilityThreshold(LOUDNESS_TO_DISTANCE_RATIO / 2)
_minAudibilityThreshold(LOUDNESS_TO_DISTANCE_RATIO / 2.0f)
{
}