Audio pathway, from computer to headphones/speakers

To be honest I don’t know how it actually works with the YT player, where audio and video come from and how selected video quality impacts audio quality. As a datapoint, here are the available sources for my learning video:

I’m not sure how YT selects or combines sources for playback.