I just repeat what Sony says, i did neither invented LDAC nor developed an LDAC CodecYou are saying LDAC uses a lossless compression, but does Sony?
Here is the source of libldac: https://android.googlesource.com/platform/external/libldac/+/refs/heads/android11-d1-s7-release/src/
Maybe someone with more C knowledge than me can explain how and why it works.
But i did find conflicting information on the Sony website!
There are Multiple versions of the LDAC Explanation site (depending on which product you look at).
The version i know (which was also translated into English as i found) said "Identical to CD Quality"
The Version that is used for Active Speakers only says "Playback with High Quality"
So it seems that Sonys itself doesn't really know if its lossless or not.
I took a deeper look on how FLAC works because my music does have much lower bit-rates (mostly. Some Bands as Eluveitie show similar results, but thats kinda it).Hmm... To be sure I re-encoded with flac 1.3.3 and best compression:
It seems that the structure of the Song plays a big role in how good FLAC can compress it.
It seems like the Sons i listen too are well structured (but the most complex songs i have/know are all in Hi-Res Audio, maybe i should convert them to 44.1KHz/16bit and check how well FLAC can compress them.
There are some tests on the Internet who recorded the output that came out of an DAC using LDAC and compared it to direct playback from the same DAC and mentioned that there is no difference.
One of those tests, and i think the most famous one, is this one: https://www.soundguys.com/ldac-ultimate-bluetooth-guide-20026/