Hi,
I have VIM3L and Tone 1 tone board
I am running an Android audio app
The overall volume coming out of the system is at about 20%.
I have tried setting the output volume to max, within the app, but this does not work
(it works if I run the app on an Android tablet)
I tried setting the volume and media outputs to maximum, in the Android settings, but these settings did not seem to be saved on the next system re-boot.
Hi @gar1234 the customizations you request cannot be done without OS modifications, and you need to modify them in the source code and compile, there are no other suitable options.
Thank you - this is really appreciated. I have people in Australia trying to ship product the product today - it is nearly time for them to go home. I have someone in the UK who might be able to modify the OS. He will start work very soon. It’s a tight overlap. So if you can get me the required modifications quickly, it might work out.
Set the config_safe_media_volume_enabled property to false
xiong@server:/users/xiong/work/amlogic/vim3/vim3_64bit/frameworks/base$ git diff
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
index 0b5dd7e70e8..985cce4bad2 100644
--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -2325,7 +2325,7 @@
<bool name="config_useDevInputEventForAudioJack">false</bool>
<!-- Whether safe headphone volume is enabled or not (country specific). -->
- <bool name="config_safe_media_volume_enabled">true</bool>
+ <bool name="config_safe_media_volume_enabled">false</bool>
<!-- Set to true if the wifi display supports compositing content stored
in gralloc protected buffers. For this to be true, there must exist