Yes Vlady, what Meiwan advised is correct. In essence from your appleloss source which is digital, you need to have it converted by a Dac to analog. Fom there you can plug it into your analog system pretty much normally. But as to your second question about upsampling.
See: High Definition Audio (HD)
Vlady:> How to select sampling rate and quantization?You definitely want 24-bit, so you will be ready when your source is also 24-bit. There is much controversy as to whether or not higher up sampling rates will be audible on your system.
44100, 48000, 96000 Hz? and 16, 20, 24 bit?
See: High Definition Audio (HD)