Comment by camgunz
It's as simple as you'd expect: AirPods and beats have their SPLs hardcoded, everything else is estimated based on volume control.
Although Apple says there can be bad interactions between this and live listen, so maybe there is some realtime monitoring happening.
https://support.apple.com/guide/iphone/check-your-headphone-...