From 9de33e432543924e334f25ce637340c0465e103e Mon Sep 17 00:00:00 2001 From: Robert Lee Date: Thu, 21 Jul 2022 17:10:53 +0800 Subject: [PATCH] audio: enable gapless offload flag Enable gapless support on compressed_offload w/o trimming delay and padding. Bug: 236351705 Test: test with AOSP Music and MediaMonkey Change-Id: I57d4a95b71bef75245590b787c0210c5f64fb842 --- audio/bluejay/config/audio_policy_configuration.xml | 2 +- audio/bluejay/config/mixer_paths.xml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/audio/bluejay/config/audio_policy_configuration.xml b/audio/bluejay/config/audio_policy_configuration.xml index d07b023..40785ff 100644 --- a/audio/bluejay/config/audio_policy_configuration.xml +++ b/audio/bluejay/config/audio_policy_configuration.xml @@ -37,7 +37,7 @@ samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/> + flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD AUDIO_OUTPUT_FLAG_NON_BLOCKING AUDIO_OUTPUT_FLAG_GAPLESS_OFFLOAD"> diff --git a/audio/bluejay/config/mixer_paths.xml b/audio/bluejay/config/mixer_paths.xml index 57e261b..c0991ce 100644 --- a/audio/bluejay/config/mixer_paths.xml +++ b/audio/bluejay/config/mixer_paths.xml @@ -30,6 +30,9 @@ + + +