Moved from marble/sm8450-common
History:
commit 82fe03168c0402e4cb10d25859c3b398c0ef654a
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date: Thu Mar 21 21:35:36 2024 +0530
marble: parts: Restore dolby profile on audio changes
Something keeps resetting back at random times, from what I observed,
after resuming media or on a device change, lets workaround that.
Change-Id: Id065f2482636194655c2399f0c35ad56b8e7a29d
commit c4400bd1326f65aeac1d0f26bb830ce7fd079773
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date: Fri Feb 2 09:29:08 2024 +0530
marble: parts/keyhandler: Guard debug logging
Change-Id: I246941f26cd1f71b696eb3c996794c9baa5dbc00
commit f11b70a98a11d0b89673d73002996aed9f11fbd7
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date: Sun Dec 31 20:36:52 2023 +0530
marble: parts: Re-enable speaker virtualization after bootup
For whatever reason, speaker virtualization isn't automatically
restored at bootup unlike the other parameters. It was reported to be
fixed by connecting and disconnecting headphones or disabling and
enabling the toggle, so let's just automate that at bootup.
commit abcff4fb947c89b69c1d25bd290fd91b7873af6a
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date: Fri Oct 20 06:49:19 2023 +0530
marble: parts: Implement profile-specific Dolby settings
Some refactoring and cleanup while we're at it.
commit dc54f9ddeff212d017b0cba16e56516e99335bb3
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date: Mon Oct 9 21:58:58 2023 +0530
marble: parts: Remove play/pause hack while toggling Dolby
Not required with/fixed by:
35217: audioflinger: Do not allow DAP effect to be suspended | https://gerrit.aospa.co/c/AOSPA/android_frameworks_av/+/35217
commit dd2acc8e0c10d05f86ff229412cc9f72ea242b44
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date: Wed Sep 13 21:41:20 2023 +0530
marble: parts: Set proper summary for dolby settings
Show the current status in Settings > Sound as well as the QS tile.
commit 92d341ba3d22f323eded525487db4289d6edc0fe
Author: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Date: Fri Aug 25 10:26:53 2023 +0200
marble: parts: Always refresh playback if status changed
* otherwise dolby would stay active even if you disable its setting
Change-Id: If59d8081fa12da2aa67e5149db97965c0805d76e
commit b1944744649b6fddcb7bc3864b92f298b6e78821
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date: Mon Aug 21 13:21:18 2023 +0530
marble: parts: Introduce Dolby Atmos
Based on existing dirac implementation and observing stock
sound effects app and daxservice.
Thanks to jhenrique09 for the hack from old dirac parts
"Pause/play music stream to get effects applied".
TODO: bring back misound (same as stock)
Co-authored-by: Henrique Silva <jhenrique09.mcz@hotmail.com>
Change-Id: I79841c045fe7b92c438177916f756faab72ff0e9