summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaulK <contact@paulk.fr>2012-04-26 16:54:13 +0200
committerPaulK <contact@paulk.fr>2012-05-06 14:24:10 +0200
commit39c22bc3b3114a4cb283673075d5000a3836edf4 (patch)
treebb9f46f736d85d3a747f0b376b1f68636a852542
parent6132030b4860b93c4e93ad39149e0b69d223f377 (diff)
downloaddevice_goldelico_gta04-39c22bc3b3114a4cb283673075d5000a3836edf4.tar.gz
device_goldelico_gta04-39c22bc3b3114a4cb283673075d5000a3836edf4.tar.bz2
device_goldelico_gta04-39c22bc3b3114a4cb283673075d5000a3836edf4.zip
Added tinyalsa libaudio instructions
Signed-off-by: PaulK <contact@paulk.fr>
-rwxr-xr-xBoardConfig.mk6
-rw-r--r--gta04.mk5
2 files changed, 9 insertions, 2 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 32c1b69..8b2e619 100755
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -40,8 +40,10 @@ TARGET_BOOTLOADER_BOARD_NAME := gta04
# Hardware
BOARD_HAVE_FM_RADIO := false
-# skip device specific audio libraries
-BOARD_USES_GENERIC_AUDIO := true
+BOARD_USES_GENERIC_AUDIO := false
+BOARD_USES_ALSA_AUDIO := true
+BOARD_USES_TINYALSA_LIBAUDIO := true
+TARGET_PROVIDES_LIBAUDIO := true
USE_CAMERA_STUB := true
# Init
diff --git a/gta04.mk b/gta04.mk
index 67df6a0..1d763d3 100644
--- a/gta04.mk
+++ b/gta04.mk
@@ -19,6 +19,11 @@ PRODUCT_COPY_FILES := \
device/goldelico/gta04/twl4030_pwrbutton.kl:system/usr/keylayout/twl4030_pwrbutton.kl \
device/goldelico/gta04/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl
+# Audio
+PRODUCT_PACKAGES += \
+ libaudio \
+ libaudiopolicy
+
# APNS
PRODUCT_COPY_FILES += \
vendor/replicant/prebuilt/common/etc/apns-conf.xml:system/etc/apns-conf.xml