summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMisael Lopez Cruz2013-05-27 19:14:34 -0500
committerMisael Lopez Cruz2013-05-28 22:58:40 -0500
commitd87cbffb8e4118a560380f12f6829d988a69ee01 (patch)
treee033feb402f4d4a222a5664ec0d9378d17bf26a9 /audio/Android.mk
parent502dac35c31ddbe7cd9721b8d62a9ac96634a991 (diff)
downloaddevice-ti-jacinto6evm-d87cbffb8e4118a560380f12f6829d988a69ee01.tar.gz
device-ti-jacinto6evm-d87cbffb8e4118a560380f12f6829d988a69ee01.tar.xz
device-ti-jacinto6evm-d87cbffb8e4118a560380f12f6829d988a69ee01.zip
audio: Initial version of McASP + tlv320aic3106 sound card
Jacinto6 EVM CPU board has an instance of tlv320aic3106 analog codec connected to McASP3, this initial version of the audioHAL uses that port. Additional audio features in JAMR3 board are not supported at the moment. This module is based on AudioHAL used by OMAP. Change-Id: I6853c469c199b057ff4e5169b914776140b31b90 Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Diffstat (limited to 'audio/Android.mk')
-rw-r--r--audio/Android.mk41
1 files changed, 41 insertions, 0 deletions
diff --git a/audio/Android.mk b/audio/Android.mk
new file mode 100644
index 0000000..a374c56
--- /dev/null
+++ b/audio/Android.mk
@@ -0,0 +1,41 @@
1# Copyright (C) 2013 Texas Instruments
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15LOCAL_PATH := $(call my-dir)
16
17ifeq ($(findstring jacinto6, $(TARGET_BOARD_PLATFORM)),jacinto6)
18
19include $(CLEAR_VARS)
20
21LOCAL_MODULE := audio.primary.$(TARGET_BOARD_PLATFORM)
22
23LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
24LOCAL_SRC_FILES := audio_hw.c
25
26LOCAL_C_INCLUDES += \
27 external/tinyalsa/include \
28 system/media/audio_utils/include \
29 system/media/audio_effects/include
30
31LOCAL_SHARED_LIBRARIES := \
32 liblog \
33 libcutils \
34 libtinyalsa \
35 libaudioutils
36
37LOCAL_MODULE_TAGS := optional
38
39include $(BUILD_SHARED_LIBRARY)
40
41endif