Home
last modified time | relevance | path

Searched refs:desiredAzimuthIndex (Results 1 – 1 of 1) sorted by relevance

/external/webkit/Source/WebCore/platform/audio/
DHRTFPanner.cpp104 int desiredAzimuthIndex = static_cast<int>(desiredAzimuthIndexFloat); in calculateDesiredAzimuthIndexAndBlend() local
105 azimuthBlend = desiredAzimuthIndexFloat - static_cast<double>(desiredAzimuthIndex); in calculateDesiredAzimuthIndexAndBlend()
109 desiredAzimuthIndex = max(0, desiredAzimuthIndex); in calculateDesiredAzimuthIndexAndBlend()
110 desiredAzimuthIndex = min(numberOfAzimuths - 1, desiredAzimuthIndex); in calculateDesiredAzimuthIndexAndBlend()
111 return desiredAzimuthIndex; in calculateDesiredAzimuthIndexAndBlend()
160 int desiredAzimuthIndex = calculateDesiredAzimuthIndexAndBlend(azimuth, azimuthBlend); in pan() local
172 m_azimuthIndex = desiredAzimuthIndex; in pan()
179 bool wrap = wrapDistance(m_azimuthIndex, desiredAzimuthIndex, numberOfAzimuths); in pan()
181 if (m_azimuthIndex < desiredAzimuthIndex) in pan()
183 else if (m_azimuthIndex > desiredAzimuthIndex) in pan()
[all …]