Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
device_xiaomi_sm8350-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LMODroid-Devices
device_xiaomi_sm8350-common
Commits
c034f3b6
Commit
c034f3b6
authored
4 years ago
by
Volodymyr Zhdanov
Committed by
Demon000
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
sm6250-common: build audio stack from source
parent
7383b2b4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
BoardConfigCommon.mk
+5
-0
5 additions, 0 deletions
BoardConfigCommon.mk
common.mk
+36
-1
36 additions, 1 deletion
common.mk
with
41 additions
and
1 deletion
BoardConfigCommon.mk
+
5
−
0
View file @
c034f3b6
...
...
@@ -27,6 +27,11 @@ AUDIO_FEATURE_ENABLED_HDMI_SPK := true
AUDIO_FEATURE_ENABLED_PROXY_DEVICE
:=
true
#AUDIO_FEATURE_ENABLED_AHAL_EXT := true
AUDIO_FEATURE_ENABLED_EXTENDED_COMPRESS_FORMAT
:=
true
AUDIO_FEATURE_ENABLED_GEF_SUPPORT
:=
true
BOARD_SUPPORTS_SOUND_TRIGGER
:=
true
BOARD_USES_ALSA_AUDIO
:=
true
# Audio policy
USE_CUSTOM_AUDIO_POLICY
:=
1
USE_XML_AUDIO_POLICY_CONF
:=
1
...
...
This diff is collapsed.
Click to expand it.
common.mk
+
36
−
1
View file @
c034f3b6
...
...
@@ -25,7 +25,35 @@ PRODUCT_SHIPPING_API_LEVEL := 29
# Audio
PRODUCT_PACKAGES
+=
\
libvolumelistener
libvolumelistener
\
libqcomvisualizer
\
libqcomvoiceprocessing
\
libqcompostprocbundle
PRODUCT_PACKAGES
+=
\
audio.primary.atoll
\
audio.a2dp.default
\
audio.usb.default
\
audio.r_submix.default
\
libaudio-resampler
\
libtinycompress
PRODUCT_PACKAGES
+=
\
android.hardware.audio@5.0-impl:32
\
android.hardware.audio.effect@5.0-impl:32
\
android.hardware.soundtrigger@2.2-impl
\
android.hardware.audio@2.0-service
PRODUCT_PACKAGES
+=
\
liba2dpoffload
\
libbatterylistener
\
libcirrusspkrprot
\
libcomprcapture
\
libexthwplugin
\
libhdmiedid
\
libhfp
\
libsndmonitor
\
libspkrprot
PRODUCT_COPY_FILES
+=
\
$(
LOCAL_PATH
)
/audio/audio_policy_configuration.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/audio_policy_configuration.xml
...
...
@@ -53,8 +81,15 @@ PRODUCT_PACKAGES += \
# Bluetooth
PRODUCT_PACKAGES
+=
\
audio.bluetooth.default
\
libbthost_if
\
BluetoothQti
PRODUCT_PACKAGES
+=
\
android.hardware.bluetooth.audio@2.0-impl
\
vendor.qti.hardware.bluetooth_audio@2.0.vendor
\
vendor.qti.hardware.btconfigstore@1.0.vendor
PRODUCT_COPY_FILES
+=
\
frameworks/native/data/etc/android.hardware.bluetooth.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/permissions/android.hardware.bluetooth.xml
\
frameworks/native/data/etc/android.hardware.bluetooth_le.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/permissions/android.hardware.bluetooth_le.xml
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment