From 1b93fdd73094fcbea2f7dd017968adbdeb2e93c6 Mon Sep 17 00:00:00 2001 From: Tai Kuo Date: Wed, 16 Feb 2022 19:09:24 +0800 Subject: [PATCH] haptics: enable hapitcs sink and slot setting Bug: 220068530 Test: trigger audio coupled haptics via sound picker app Change-Id: I08885ae97e6f47a2840680481c3f9fb56cbe3c47 --- .../config/audio_policy_configuration.xml | 26 +++++++++---------- ...cy_configuration_a2dp_offload_disabled.xml | 20 +++++++------- ...icy_configuration_bluetooth_legacy_hal.xml | 20 +++++++------- audio/lynx/config/mixer_paths.xml | 1 + 4 files changed, 34 insertions(+), 33 deletions(-) diff --git a/audio/lynx/config/audio_policy_configuration.xml b/audio/lynx/config/audio_policy_configuration.xml index b593985..1fd5cfa 100644 --- a/audio/lynx/config/audio_policy_configuration.xml +++ b/audio/lynx/config/audio_policy_configuration.xml @@ -50,11 +50,11 @@ samplingRates="8000 16000 24000 32000 44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/> - + + sources="primary output,deep buffer,haptic"/> + sources="primary output,deep buffer,haptic"/> + sources="primary output,deep buffer,haptic"/> + sources="primary output,deep buffer,haptic"/> + sources="primary output,deep buffer,haptic"/> + sources="primary output,deep buffer,haptic"/> + sources="primary output,deep buffer,haptic"/> + sources="primary output,deep buffer,haptic"/> + sources="primary output,deep buffer,haptic"/> + sources="primary output,deep buffer,haptic"/> + sources="primary output,deep buffer,haptic"/> diff --git a/audio/lynx/config/audio_policy_configuration_a2dp_offload_disabled.xml b/audio/lynx/config/audio_policy_configuration_a2dp_offload_disabled.xml index aa9bac8..5e1dd84 100644 --- a/audio/lynx/config/audio_policy_configuration_a2dp_offload_disabled.xml +++ b/audio/lynx/config/audio_policy_configuration_a2dp_offload_disabled.xml @@ -50,11 +50,11 @@ samplingRates="8000 16000 24000 32000 44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/> - + + sources="primary output,deep buffer,haptic"/> + sources="primary output,deep buffer,haptic"/> + sources="primary output,deep buffer,haptic"/> + sources="primary output,deep buffer,haptic"/> + sources="primary output,deep buffer,haptic"/> + sources="primary output,deep buffer,haptic"/> + sources="primary output,deep buffer,haptic"/> + sources="primary output,deep buffer,haptic"/> diff --git a/audio/lynx/config/audio_policy_configuration_bluetooth_legacy_hal.xml b/audio/lynx/config/audio_policy_configuration_bluetooth_legacy_hal.xml index 9b1a1cd..72a6e62 100644 --- a/audio/lynx/config/audio_policy_configuration_bluetooth_legacy_hal.xml +++ b/audio/lynx/config/audio_policy_configuration_bluetooth_legacy_hal.xml @@ -50,11 +50,11 @@ samplingRates="8000 16000 24000 32000 44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/> - + + sources="primary output,deep buffer,haptic"/> + sources="primary output,deep buffer,haptic"/> + sources="primary output,deep buffer,haptic"/> + sources="primary output,deep buffer,haptic"/> + sources="primary output,deep buffer,haptic"/> + sources="primary output,deep buffer,haptic"/> + sources="primary output,deep buffer,haptic"/> + sources="primary output,deep buffer,haptic"/> diff --git a/audio/lynx/config/mixer_paths.xml b/audio/lynx/config/mixer_paths.xml index c2065f9..1584810 100644 --- a/audio/lynx/config/mixer_paths.xml +++ b/audio/lynx/config/mixer_paths.xml @@ -39,6 +39,7 @@ +