2024-01-14, 13:18
I am using a Android UI to change the AUDIO_OUTPUT from AUDIO_CODEC to AUDIO_HDMI. However, when the device outputs, I always have to set again.
Is there a way to keep this setting by editing a certain file?
Thank you!
Is there a way to keep this setting by editing a certain file?
txt:
12-31 19:00:14.792 D/audio_hw_primary( 1747): read card /sys/class/sound/card2/id
12-31 19:00:14.792 D/audio_hw_primary( 1747): /sys/class/sound/card2/id, sndhdmi, len: 8
12-31 19:00:14.792 D/audio_hw_primary( 1747): linux name = sndhdmi, android name = AUDIO_HDMI
12-31 19:00:14.792 D/audio_hw_primary( 1747): find name map, card_id = sndhdmi, card_name = AUDIO_HDMI
Thank you!