Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 963830df3d69a3a517d66705200ad497b00311bd
https://github.com/WebKit/WebKit/commit/963830df3d69a3a517d66705200ad497b00311bd
Author: Ahmad Saleem <[email protected]>
Date: 2026-07-13 (Mon, 13 Jul 2026)
Changed paths:
A
LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-hrtf-negative-elevation-expected.txt
A
LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-hrtf-negative-elevation.html
M Source/WebCore/platform/audio/HRTFElevation.cpp
Log Message:
-----------
Use correct HRTF elevation response for negative elevations
https://bugs.webkit.org/show_bug.cgi?id=250279
rdar://104265673
Reviewed by Jean-Yves Avenard.
Merge:
https://github.com/chromium/chromium/commit/5c31073f086be3f8c226c01d7954ea8f4d7eddaf
The computed index for negative elevations was off by one. When the
elevation is -45 deg, the selected response corresponded to the entry
for 90 deg, not 315 deg, so sources below the horizon collapsed onto
the overhead response.
To simplify things, we use a short table to map the (positive) elevation
angle to its index in the concatenated database.
Test:
imported/w3c/web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-hrtf-negative-elevation.html
*
LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-hrtf-negative-elevation-expected.txt:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-hrtf-negative-elevation.html:
Added.
* Source/WebCore/platform/audio/HRTFElevation.cpp:
(WebCore::HRTFElevation::calculateKernelsForAzimuthElevation):
Canonical link: https://commits.webkit.org/317043@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications