Is G7 outputting 16/44.1Khz to 24/48Khz in known hi-fi music apps?

dingo424

Member
Nov 12, 2020
12
0
1
Hi, I'm using G7(LM-G710N) on Android 10, and I'm suspicious about the "bypass" going on in well-known hi-fi music apps(UAPP, Neutron...).
I've heard that they upscale 16/44.1Khz files to 24/44.1Khz to avoid Android mixer, but my device seems to upscale it to 24/48Khz. AudioFlinger output recognizes the samplerate correctly, but in logcat, it seems like there is some mess going on, and the final output is 24/48Khz.
The same thing happens while playing 24/384Khz files, which downscales it to 24/192Khz.
I've tried mostly with UAPP, and tried turning MQA flag on, which upscaled everything to 24/176Khz or 24/192Khz, and the results that I'm talking about is with all set to default except setting bit-perfect on.
I know that there was a quick debate similar to this topic, but I can't find any answers to what is happening to my G7. Does anyone know what is going on or is there a thread that could help me? Thanks in advance.

------------------------------------- The log messages that I found in logcat --------------------------------------
<When playing 16/44.1Khz files>
11-12 21:42:58.029 793 28312 D msm8974_platform: platform_check_codec_backend_cfg:becf: updated afe: bitwidth 24, samplerate 44100 channels 2,backend_idx 7 usecase = 4 device (headphones-hifi-dac)
11-12 21:42:58.029 793 28312 D msm8974_platform: platform_check_codec_backend_cfg:becf: afe: LGE do not support 44.1 native play backset default Sample Rate(48k)
11-12 21:42:58.029 793 28312 I msm8974_platform: platform_check_codec_backend_cfg:becf: afe: Codec selected backend: 7 updated bit width: 24 and sample rate: 48000
11-12 21:42:58.029 793 28312 I msm8974_platform: platform_check_codec_backend_cfg:becf: afe: Codec backend needs to be updated. new bit width: 24new sample rate: 48000 new channels: 2
11-12 21:42:58.030 793 28312 I msm8974_platform: platform_set_codec_backend_cfg:becf: afe: bitwidth 24, samplerate 48000 channels 2 format 6, backend_idx 7 device (headphones-hifi-dac)

<When playing 24/384khz files>
11-12 21:31:35.359 793 27243 I audio_hw_lge: lge_get_max_samplerate_for_current_backend sample rate = 352800 backend = 7 mqa_enable = 0, active_mqa_offload = 0
11-12 21:31:35.359 793 27243 I audio_hw_lge: lge_get_device_type_for_mqa snd_device = 108
11-12 21:31:35.360 793 27243 E audio_hw_extn: audio_extn_enable_hifi_filter: Could not get ctl for mixer cmd - HiFi Filter, using default control
11-12 21:31:35.360 793 27243 D msm8974_platform: platform_check_codec_backend_cfg:becf: updated afe: bitwidth 24, samplerate 352800 channels 2,backend_idx 7 usecase = 4 device (headphones-hifi-dac)
11-12 21:31:35.360 793 27243 D msm8974_platform: platform_check_codec_backend_cfg:becf: afe: LGE do not support 352.8 native play backset 192K
11-12 21:31:35.360 793 27243 I msm8974_platform: platform_check_codec_backend_cfg:becf: afe: Codec selected backend: 7 updated bit width: 24 and sample rate: 192000
11-12 21:31:35.360 793 27243 I msm8974_platform: platform_check_codec_backend_cfg:becf: afe: Codec backend needs to be updated. new bit width: 24new sample rate: 192000 new channels: 2
11-12 21:31:35.361 793 27243 I msm8974_platform: platform_set_codec_backend_cfg:becf: afe: bitwidth 24, samplerate 192000 channels 2 format 6, backend_idx 7 device (headphones-hifi-dac)
11-12 21:31:35.361 793 27243 D msm8974_platform: platform_set_codec_backend_cfg:becf: afe: TERT_MI2S_RX Format mixer set to 24 bit for 6 format
11-12 21:31:35.361 793 27243 D msm8974_platform: platform_set_codec_backend_cfg:becf: afe: TERT_MI2S_RX SampleRate set to KHZ_192
11-12 21:31:35.365 793 27243 D audio_hw_utils: audio_extn_btsco_get_sample_rate:Not a BT SCO device, need not update sampling rate
11-12 21:31:35.365 793 27243 I audio_hw_utils: send_app_type_cfg_for_device PLAYBACK app_type 69940, acdb_dev_id 1500, sample_rate 352800, snd_device_be_idx 45
11-12 21:31:35.366 793 27243 D msm8974_platform: platform_split_snd_device: snd_device(108) num devices(1) new_snd_devices(0)
11-12 21:31:35.366 793 27243 D audio_hw_utils: audio_extn_btsco_get_sample_rate:Not a BT SCO device, need not update sampling rate
11-12 21:31:35.366 793 27243 D lge_audio_adv_hifi: lge_get_sound_preset_acdb: original acdb_dev_id 10, new_acdb_dev_id 1500
11-12 21:31:35.366 793 27243 E msm8974_platform: platform_send_audio_calibration: SOUND_PRESET acdb change to 1500
11-12 21:31:35.366 793 27243 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 1500, path = 0, app id = 0x11134, sample rate = 352800
 

Yeedatoy

Senior Member
Jul 18, 2018
87
41
18
36
Charlotte
Do you have any audio mods? If so, that's likely why. The G7 will not play audio as it was intended to with ANY audio mods...Viper, Narsil, JDSP, Dolby....none of them
 

dingo424

Member
Nov 12, 2020
12
0
1
Do you have any audio mods? If so, that's likely why. The G7 will not play audio as it was intended to with ANY audio mods...Viper, Narsil, JDSP, Dolby....none of them
Thank you for your reply, and no, I didn't turn on any audio mods on. I'm not a fan with DTS:X mod, and I don't play with EQ, so it's all in default/off settings. The only thing I've changed is the digital filter, which is set to Slow.