Samsung Galaxy S9 SM-G965U
Stock 8.0 build R16NW.G965USQU1ARBG kernel 4.9.65-13087505
This device uses audio_policy_configuration.xml instead and lists the following:
mixport direct_pcm format AUDIO_FORMAT_PCM_16_BIT sampling rates 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000, 64000, 88200, 96000, 176400, 192000, 352800, 384000
format AUDIO_FOMAT_PCM_24_BIT_PACKED sampling rates 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000, 64000, 88200, 96000, 176400, 192000, 352800, 384000
format AUDIO_FORMAT_PCM_8_24_BIT sampling rates 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000, 64000, 88200, 96000, 176400, 192000, 352800, 384000
format AUDIO_FORMAT_PCM_32_BIT sampling rates 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000, 64000, 88200, 96000, 176400, 192000, 352800, 384000
However, within this for the wired headphones for example it only has AUDIO_FORMAT_PCM_16_BIT and sampling rate 48000 listed. This seems odd since it supports these formats that it only declares one for headphones. I am sure this is where the issue is.