Just installed LibreELEC-Generic.x86_64-9.2.4 on my super old Intel Atom / Nvidia ION 2 based Shuttle PC and it worked great! Such an amazing project!
I did notice that my AV Receiver (Denon, connected via HDMI) was showing all my music at 44.1 KHz regardless of the source (often 96 KHz, but sometimes 88.2 and 192) with "best match" and "optimized". When I chose "fixed" I could force a sample rate, but it would stay fixed regardless of the input source. I was going a bit crazy but after a lot of searching, this suggestion below from SyntaXErroR worked fine and now all my music appears to be bit-perfect at the correct sample rate. I just had to change my card and device numbers that I got from "aplay -l" to match my machine (in my case 1,7).
I had to create an asound.conf from scratch in /storage/.config/ and I couldn't find clear documentation on where to put this file or the name of it (I actually have one called sound.conf as well just for good measure).
Just wanted to say thank you and make sure anyone else not using Android who has this issue can find this thread and solution.
Display MoreThanks but I just got it fully working now, from 44.1 up to 384Khz. (incl. 352.8 Khz)
And guess how ? by applying exact same solution I suggested 3 years ago on openelec when I had crackling sound issue with a previous DAC !
I just remebered and found my old post, here it is if it helps ("Ykar"'s post #9).
OpenELEC Mediacenter - OpenELEC Forum - USB DAC - OE 4.0 resamples everything to 48kHz? (1/1)
But in short, asound.conf with below content, and selecting the "new" available audio output in Kodi audio settings.
pcm.device{
type hwcard 2
device 0}
pcm.!default{type plug
slave.pcm "device"
}