tegu: support libspeechenhancer
note: 0731 library which supports handset mode Bug: 355579656 Test: end-to-end test. Flag: EXEMPT extend existed feature. Change-Id: I48d4d2479623b3a75c32d34ee093c4dae260f161
This commit is contained in:
parent
360b86af2c
commit
601fdeaab9
4 changed files with 53 additions and 0 deletions
|
@ -76,6 +76,9 @@
|
||||||
<scenario condition="ScreenRotation:0,90,180,270"
|
<scenario condition="ScreenRotation:0,90,180,270"
|
||||||
output="LeftChannel:compens_spk_l.conf RightChannel:compens_spk_r.conf" />
|
output="LeftChannel:compens_spk_l.conf RightChannel:compens_spk_r.conf" />
|
||||||
</tuner>
|
</tuner>
|
||||||
|
<tuner name="gsenet">
|
||||||
|
<argument name="microphones" value="2" />
|
||||||
|
</tuner>
|
||||||
</tuners>
|
</tuners>
|
||||||
|
|
||||||
<latencies>
|
<latencies>
|
||||||
|
|
43
audio/tegu/prebuilt/libspeechenhancer/Android.bp
Normal file
43
audio/tegu/prebuilt/libspeechenhancer/Android.bp
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
// Copyright (C) 2024 The Android Open Source Project
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
soong_namespace {
|
||||||
|
}
|
||||||
|
|
||||||
|
package {
|
||||||
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
||||||
|
}
|
||||||
|
|
||||||
|
cc_prebuilt_library_shared {
|
||||||
|
name: "libspeechenhancer",
|
||||||
|
vendor: true,
|
||||||
|
owner: "google",
|
||||||
|
proprietary: true,
|
||||||
|
allow_undefined_symbols: true,
|
||||||
|
arch: {
|
||||||
|
arm64: {
|
||||||
|
srcs: ["arm64/libspeechenhancer.so"],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
shared_libs: [
|
||||||
|
"libcutils",
|
||||||
|
"libEGL",
|
||||||
|
"libGLESv2",
|
||||||
|
"libbinder_ndk",
|
||||||
|
"liblog",
|
||||||
|
"libsync",
|
||||||
|
"libz",
|
||||||
|
"libnativewindow",
|
||||||
|
],
|
||||||
|
}
|
BIN
audio/tegu/prebuilt/libspeechenhancer/arm64/libspeechenhancer.so
Normal file
BIN
audio/tegu/prebuilt/libspeechenhancer/arm64/libspeechenhancer.so
Normal file
Binary file not shown.
|
@ -175,6 +175,13 @@ PRODUCT_PACKAGES += \
|
||||||
audio_sounddose_aoc
|
audio_sounddose_aoc
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# HdMic Audio
|
||||||
|
PRODUCT_SOONG_NAMESPACES += device/google/tegu/audio/tegu/prebuilt/libspeechenhancer
|
||||||
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
|
persist.vendor.app.audio.gsenet.version=1
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
libspeechenhancer
|
||||||
|
|
||||||
# Bluetooth LE Audio
|
# Bluetooth LE Audio
|
||||||
PRODUCT_PRODUCT_PROPERTIES += \
|
PRODUCT_PRODUCT_PROPERTIES += \
|
||||||
ro.bluetooth.leaudio_switcher.supported=true \
|
ro.bluetooth.leaudio_switcher.supported=true \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue