HomeSort by relevance Sort by last modified time
    Searched refs:m_minDecibels (Results 1 - 2 of 2) sorted by null

  /external/webkit/Source/WebCore/webaudio/
RealtimeAnalyser.h 55 void setMinDecibels(float k) { m_minDecibels = k; }
56 float minDecibels() const { return static_cast<float>(m_minDecibels); }
98 double m_minDecibels;
RealtimeAnalyser.cpp 64 , m_minDecibels(DefaultMinDecibels)
208 const double MinDecibels = m_minDecibels;
236 const double RangeScaleFactor = m_maxDecibels == m_minDecibels ? 1.0 : 1.0 / (m_maxDecibels - m_minDecibels);
243 double dbMag = !linearValue ? m_minDecibels : AudioUtilities::linearToDecibels(linearValue);
245 // The range m_minDecibels to m_maxDecibels will be scaled to byte values from 0 to UCHAR_MAX.
246 double scaledValue = UCHAR_MAX * (dbMag - m_minDecibels) * RangeScaleFactor;

Completed in 64 milliseconds