kszaq I confirm the below command works (DAC reading 384khz)
NUCLibreELEC:~ # speaker-test -D iec958:CARD=HDAMP1,DEV=0 -c 2 -r 384000 -t sine -F S32_LE
kszaq I confirm the below command works (DAC reading 384khz)
NUCLibreELEC:~ # speaker-test -D iec958:CARD=HDAMP1,DEV=0 -c 2 -r 384000 -t sine -F S32_LE
Try this and report back, please: SPDIF: Make it possible to use 352 khz and 384 khz by fritsch · Pull Request #12783 · xbmc/xbmc · GitHub
fritsch1982 I remember reading your knowledgeable developper posts about audio in XBMC, long time ago.
Point is I don't know how to update those 2 files into LE, strings.po is fine I believe since I can access it through smb, but I can't find any subfolders in LE .kodi/system/.
Is there a "dummy" way I could test your update into LE ?
Nope - I hope that the LE devs in here can provide you a testing build. Turn down the volume in any case, please
found both files but I have no write permissions on settings folder and content
/storage/.kodi/addons/resource.language.fr_fr/resource/
/usr/share/kodi/system/settings
fritsch1982 I just read the change you made to the files, I believe maybe you should set 352.8 Khz instead of 352Khz.
Yep. Perfeclty right. 2 * 176.4 - that's the one for the 44.1 path. Fixed it in the PR. The 384 would have been enough, I did not see yet a device that can do 352.8 and not 384.0 - but did not want to touch that file again in some weeks.
Is there a "dummy" way I could test your update into LE ?
So which build you need?
currently I'm on 8.1.1, if there is any way recompile with Fritsch changes, I'll be very happy to test.
8.1.1 of what? Generic, RPi, ...
Yes Generic, sorry : LibreELEC-Generic.x86_64-8.1.1.tar
Just an FYI incase you didn't know but you can just drop the img.gz file provided from vpeter in the updates folder just like a tar file
I've to say I'm quite impressed Guys. Accurate, reactive advices and guidance. Now that's definitly an approved commit.
Kodi + LE dev teams ruling !
Backuped current LE 8.1.1
Deleted asound.conf
Updated to LibreELEC-Generic.x86_64-8.1.1-spdif-extra.img.gz
Selected HD-AMP1 SPDIF output + Best match
Maxed out sample rate to 384 Khz
--> All good. From 44.1 to 384Khz (incl. 352.8Khz)
Awesome, thanks for letting us know it worked. We can backport this for the 8.2.0 release
Hi all!
I've read this topic but I'm still a little bit confused so I want to kindly ask you to confirm (or not) ...
I have an external standalone DAC with digital optical and coaxial inputs (no USB input).
If I buy an Android TV Box with a hardware which supports LibreELEC installation (e.g. Minix Neo U1), it is possible to passthrough high resolution audio files over digital audio optical output?
Can the device, with LibreELEC, output bit-perfect 16-bit/44.1KHz, 24-bit/88.2KHz, 24-bit/96KHz and 24-bit/192KHz audio files (FLAC and WAV), without resampling the sample rate or changing bit depth?
LibreELEC (Krypton) 8.2.0 changelog says "Fix Kodi to support 352KHz and 384KHz audio over S/PDIF" but I assume this is for USB output, as digital optical is limited to 192KHz. It's unclear for me what is the situation when using digital optical output ...
Thank you!
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"
}