summaryrefslogtreecommitdiffstats
path: root/audio/Android.mk
diff options
context:
space:
mode:
authorSimon Wilson <simonwilson@google.com>2011-06-09 14:28:56 -0700
committerSimon Wilson <simonwilson@google.com>2011-06-20 19:48:53 -0700
commit4a97258d9a03ea6a6ea24d3cdef553b70c7068e5 (patch)
treebd20d4b234ae2841093559fb45c49091a374b400 /audio/Android.mk
parent6a9f12205c91234e777c6e0aae0f7429b7d6fb9e (diff)
downloaddevice_samsung_tuna-4a97258d9a03ea6a6ea24d3cdef553b70c7068e5.zip
device_samsung_tuna-4a97258d9a03ea6a6ea24d3cdef553b70c7068e5.tar.gz
device_samsung_tuna-4a97258d9a03ea6a6ea24d3cdef553b70c7068e5.tar.bz2
Enable audio support
- PCM output works via music player - Sometimes ringtones fail to play - Modem routing is untested but present - PCM input needs to be implemented Change-Id: Ib58bef9674e1c9bb896be521c3d95c4e07e0442b
Diffstat (limited to 'audio/Android.mk')
-rw-r--r--audio/Android.mk29
1 files changed, 29 insertions, 0 deletions
diff --git a/audio/Android.mk b/audio/Android.mk
new file mode 100644
index 0000000..fe4d1bd
--- /dev/null
+++ b/audio/Android.mk
@@ -0,0 +1,29 @@
+# Copyright (C) 2011 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.
+
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := audio.primary.tuna
+LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
+LOCAL_SRC_FILES := audio_hw.c
+LOCAL_C_INCLUDES += \
+ external/tinyalsa/include \
+ external/speex/include
+LOCAL_SHARED_LIBRARIES := liblog libcutils libtinyalsa libspeexresampler
+LOCAL_MODULE_TAGS := optional
+
+include $(BUILD_SHARED_LIBRARY)
+