There is a great software software app that can do that for us: https://www.audiosciencereview.com/...test-deltawave-null-comparison-software.6633/. You can skip to the last page if you want.Premise: I tried to compare the tracks I extracted from CD with those I receive from Apple servers and even with Apple TV 4K + AirPlay 1 I can't find audible differences between the two with my system (perhaps because Apple uses a good resampler as mdsimon wrote).
Also, worth mentioning that I started today for the first time to stream via Airplay and I was pleased with the results: https://www.audiosciencereview.com/...tion-airplay-measurements-over-toslink.40722/.