ES 9018K2M->dtoverlay Raspberry Pi->config.txt
for this ES9018K2M:
the only working dtoverlay in config.txt (Raspberry Pi+DietPi+other) is:
rpi-dac -> (in config.txt): dtoverlay=rpi-dac
and though, its unfortunately limited to 192khz !!
there is no other dtoverlay that works without distortion for this board..(searched and demanded it for weeks, no success)
But after a lot of research its possible to get 384khz on this board to work with->PiCorePlayer !!
Description->„try picoreplayer->audio-options->use „Generic/simple es9023″->advanced->“Audio Card Control“->check „dt-overlay parameters 384k“..
let „onboard soundcard“ enabled (had problems with it changing, but try your luck“)->check the output with->sudo cat /proc/asound/card1/pcm0p/sub0/hw_params (or ../card0/.. if u unchecked onboard sound device)..
additionally change upsample setting to „X“ (upsample to max device capacity) and set alsa settings->sample format to 24 (had problems with 32)
so you´re done !!!“
link+further description here: