Did you actually DECODE the HDCD or just take the 16 bits to 24?
I wrote a Perl script to scan all my FLAC files for evidence of HDCD encoding, and those that appeared to be encoded I decoded using open source tools. All this was on a Linux/Ubuntu box. I believe I used ffmpeg to actually locate and convert.
It is important to note that due to the widespread use of the Pacific Microsonics ADC, and the engineers not caring about settings, a lot of CD’s may be digitally watermarked as HDCD, without any of the HDCD features, such as 20 bit dynamic range expansion, being used.
Best,
E