@
Memphiz
thank you for the answer.
1. I turn on lpcm
2. in advancedsettings.xml i put this, and this settings work if lpcm is on.
<resample>0</resample>
<audiophile>1</audiophile>
<streamsilence>1</streamsilence>
3. i'm getting on onkyo music as is. 24/96, 24/88.2, 16/44.1, 16/48, i can see it on my onkyo, and hear the difference of non-resampled audio. i don't really know if this is the same as on windows - bit-perfect, but in this way, music is not resampled and i get music as is, and it sounds amazing. And i can not turn volume down or up in xbmc or osx, so it looks like passthrough for me. With this settings, the audio engine also changes allone the sample rate in midi settings of osx. if i exit xbmc, i have the dafault sample rate again. For me it looks like 99% is working amazing. 1% make problem.
4. movies are working also amazing with lpcm on, the movie audio is better with lpcm on, for aac 5.1.
5. it doesn't matter which preferences are set in audiosettings. the onkyo shows as input 7.1, but the audio comes in stereo out from the speakers. if i'm playing a movie with aac 5.1 i'm getting passthrough 5.1 channels. DD also works with lpcm on. but the freezes issue, was on lpcm on or off, doesn't matter.
the only, and only problem is, that the next song is not playing automatically, because 2 sec. before the song finishes it freezes (silent). so i should manually play next or other song. but then it works again, and the start of the song is cutted 2 seconds, but this is due to avr to recognize the signal and sample rate. but a similar problem, i can remempber was on eden with wasapi on windows, where the start of the song was cutted, because of recognizing the sample rate and signal.
Only if this problem with playing next song automaically (with lpcm on) could be solved, it would be great.
So thats, how it is for me now with my setteings.