Commit Graph
31 Commits
Author SHA1 Message Date
Aaron Kling f86793bea9 Remove software omx codec references
These are no longer available as of Android 14 QPR3. The C2 codecs
available by default in the swcodec apex will be used instead.

Change-Id: I8cdf3e700823779a7382c66c3df8410d41209b7c
2024-06-30 15:44:44 +00:00
Aaron Kling c72354658b audio: Remove a2dp in include from policy
This is no longer used in Android 13

Change-Id: Ifcd2e5b2bbf391674d4b56e5b7d7051545a23642
2024-01-29 13:43:29 -05:00
Aaron Kling 1c467699a7 Fixup audio policy for new schema requirements
The global configuration tag is now required, so uncomment the section
set the param to false.

Change-Id: I322e79b853ae65de235ea82cb818b431abcd7241
2024-01-29 13:43:29 -05:00
tmakin 015f2f32bc nx: add nvaudio bt sco support
Based on abca config
https://nv-tegra.nvidia.com/r/gitweb?p=tegra/prebuilts-device-nvidia.git;a=blob_plain;f=platform/t210/abca_nvaudio_conf.xml;h=2505492cd06428a2d4cb3c82cbcaf35f61630f71;hb=4e7a0a212dac90c0781f7b74d669bb6bc44cdd28

Change-Id: I5aba9df05d0098a0e488706df5233ac760f55a0f
2024-01-25 15:54:02 -05:00
tmakin b158b0ad5c nx: add mic support to nvaudio conf
Change-Id: I2053c6023ea592c3163af000af326db5d98bed66
2024-01-25 15:54:02 -05:00
Nolen Johnson 1c517026bb nx: Disable MSD audio
* We don't support it.

Change-Id: I528c5bb6a8589796e2ece6c6b6e5352c2c3da883
2024-01-25 15:54:01 -05:00
tmakin e18af28bdb nx: media: Tailor codecs
- update policy configuration based on latest aosp
- remove secure decode entries for nx

Change-Id: I1160e9e192059fc6a8428ed9e6161e719d3b0896
2024-01-25 15:01:11 -05:00
Billy Laws ea7bef805a nx: audio: Wire up headset input audio policy
Change-Id: I93739c853430437211f9be39ddd531b7d24fd68f
2024-01-25 14:56:46 -05:00
c03875880c nx: Intial rebrand from foster
* This is a tree for all Nintendo Switch variants:
  `odin`, `modin`, `vali`, and `frig`.
* `ro.hardware` will be NX on all variants with
   `ro.hardware.sku` being set per variant by u-boot.

Changes are as follows:
* At the moment the packaged DTB is only for `odin`, more to follow.
 * Note: We may make `modin`, `vail`, and `frig` device-tree-overlays
   on the `odin` base DTB to simplify things.
* Use darcy's thermal config as it's the most lenient, and is a same SoC STB.
* Unlike `icosa_sr` previously did, we will use the BCM HAL for BT over
  BTLinux, as A2DP is tested and verified, no need to deviate.

Changes that will require follow-up commits to build out:
* Update init to reflect nx's needs - will need more work to support devices
  other than `odin`.

Removals are as follows:
* Remove all non-nx device support files.

Co-authored-by: Thomas Makin <halorocker89@gmail.com>
Co-authored-by: Billy Laws <blaws05@gmail.com>
Co-authored-by: Aaron Kling <webgeek1234@gmail.com>
Co-authored-by: CTCaer <ctcaer@gmail.com>
Co-authored-by: John Smith <nemui3353@gmail.com>
Co-authored-by: langerhans <langerhans@users.noreply.github.com>
Co-authored-by: Nolen Johnson <johnsonnolen@gmail.com>
Change-Id: I9bab4d94c6e94a9c6e2a7cf04d16c4b76c0b6ac5
2024-01-25 14:56:45 -05:00
tmakin c202c404d1 nvaudio: Remove broken nvaudio_fx.xml
* Broken even on stock, so basically a no-op.

Change-Id: If4e0593f6ecbc8ca1102e4b618a77a4f5774c504
2024-01-25 14:47:58 -05:00
Aaron Kling c76adb8408 Refactor audio policy
Previously, audio policy was handled by product type, such as tablet or
atv. This was never correct, as policy should be based on the device
variant and is not affect by product type. This sets the default policy
to the basic set top box and devkit variant, and moves the mobile
variant to be used by devices with speakers. As the variants are no longer
in the same folder as other xmls, all includes need to use absolute paths.

Change-Id: I9de7848e653cf90353be915aec46247fa9d49739
2024-01-07 20:29:59 -06:00
Aaron Kling fbd3cbbb47 Remove nodolby audio policies
tegra-common now installs a dummy msd config if dolby support is
disabled.

Change-Id: I69a058f2a8630a4141c942c14b7b61bd3fbd0361
2024-01-07 14:29:43 -06:00
Aaron Kling 2de1ada59e Rebrand icosa to nx
Change-Id: Ic97a429c449dd6f7c7d0d5999ebc9b9640d2e8f0
2023-03-09 21:38:47 -06:00
Aaron Kling 0b0ef7ddba fixup! Support unified audio machine driver
Icosa config was missed in the initial commit

Change-Id: Id4180d0706ba7b0a607d0a2c2c779cf22254b1aa
2022-07-28 14:26:25 -05:00
Sebastiano Barezzi 31f32ca2d6 foster: audio: Update volume policies location
Change-Id: Ia9e41028c44f7e8812657115d6a41b4c3ce481f4
2022-06-21 14:38:18 -05:00
Sebastiano Barezzi d8efe26bd4 foster: audio: Move to AOSP USB audio policy configuration
Change-Id: I00ea82b8112546eceb274d1d156fb168c845754a
2022-06-21 14:38:18 -05:00
Sebastiano Barezzi 38a01b48ed foster: audio: Move to AOSP bluetooth audio HIDL
Change-Id: I92411f5c0d1ff6cf6555906d9b1c3e2e115d8ca2
2022-06-21 14:38:18 -05:00
Aaron Kling 2a4ee9eed0 omx: Disable secure h265 hardware decoder
Netflix content using h265 corrupts badly. Removing h265 secure
support makes netflix fall back to h264. This has the unfortunate
effect of removing 4k support from netflix, but working is better
than not working.

Change-Id: I96280968a75bbc76946dc2f4d0d9fb465ff185ad
2022-04-30 17:18:35 -05:00
Aaron Kling 55c95da42e Support unified audio machine driver
Change-Id: I57589fd9d47379f02db8ae8eca82a5459c4e5a67
2022-04-26 03:13:05 -05:00
Aaron Kling 9a5a77bc3f Add enctune config for nvmm
This config is used for encoder tuning, setting bitrates for nvenc

Change-Id: Ib0de6557ecda8ececc0b461a72313d873a3db583
2022-03-22 20:22:53 -05:00
Aaron Kling 7af376b654 Update audio and media configs for rel-shield-r
Involves splitting the audio policy for atv and mobile targets

Change-Id: If05aa56e60fd33831768cbe89cd3280895325bd7
2022-03-02 14:36:29 -06:00
Aaron Kling de67edb79f omx: Disable secure h265 hardware decoder
Netflix content using h265 corrupts badly. Removing h265 secure
support makes netflix fall back to h264. This has the unfortunate
effect of removing 4k support from netflix, but working is better
than not working.

Change-Id: I96280968a75bbc76946dc2f4d0d9fb465ff185ad
2021-09-02 13:21:37 -05:00
Billy Laws 1c728f38db icosa: nvaudio config cleanup
Change-Id: Iaccf0987a30f76ac20bd1d62eac5bdeb495e5edd
2021-07-15 19:47:21 -05:00
Aaron Kling 47f5e50397 Allow nvmm variants to install the right configs
Change-Id: I0508a4a71a184252654bf7c11f4c09d83d975f2f
2021-07-07 13:59:21 -05:00
Aaron Kling 3d6b975ccc Update loki audio config for P nvaudio hal
Change-Id: I32265682a5736a30d0098992e2bc5b521814c2d8
2021-07-07 13:59:21 -05:00
Aaron Kling 2458661d3d Add loki nvaudio config
Change-Id: If575c7a36ce148921a87168537b9310bc8c654b0
2021-07-07 13:59:21 -05:00
Aaron Kling 14df45c68b audio_policy: Remove built-in mic
This is causing segv_accerr's in updateSinkMetadata on many devices

Change-Id: I28d91e48486a1af55def9f31e065ebfad0cffa8a
2021-04-05 14:45:35 -05:00
Aaron Kling d3e5e375ab Build NVMM by default
Also add relevant media codecs and profiles.

Change-Id: I9ac7f7973f86421cbe8d7c3e793099df74026971
2020-10-06 14:57:57 -05:00
Billy Laws 1b3783b4aa Add headphone and headset playback routes to audio policy
Change-Id: Ie480bee6cab53bc78855bd96ad1e7357ff39d8d5
2020-10-06 14:57:57 -05:00
Aaron Kling 45d1ecc583 Remove gamecast from audio configs
Change-Id: Ia1c640e2a99abc4b9c0ab24ea687aee2326bed00
2020-10-06 14:57:57 -05:00
Aaron Kling 0815421b81 Build NV Audio HAL by default
Also import relevant configurations.

Icosa support by ByLaws
Dragon support by Vartom

Note: loki_e support is spotty as of this revision.

Change-Id: Ib6df31556ff276c8bdbae0de2037f162de550fd1
2020-10-06 14:57:57 -05:00