Searched refs:m_refDistance (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/audio/
H A DDistance.cpp44 , m_refDistance(1.0)
57 distance = std::max(distance, m_refDistance);
73 // We want a gain that decreases linearly from m_refDistance to
74 // m_maxDistance. The gain is 1 at m_refDistance.
75 return (1.0 - m_rolloffFactor * (distance - m_refDistance) / (m_maxDistance - m_refDistance));
80 return m_refDistance / (m_refDistance + m_rolloffFactor * (distance - m_refDistance));
85 return pow(distance / m_refDistance,
[all...]
H A DDistance.h61 void setRefDistance(double refDistance) { m_refDistance = refDistance; }
65 double refDistance() const { return m_refDistance; }
76 double m_refDistance; member in class:blink::DistanceEffect

Completed in 66 milliseconds