From 4a97258d9a03ea6a6ea24d3cdef553b70c7068e5 Mon Sep 17 00:00:00 2001 From: Simon Wilson Date: Thu, 9 Jun 2011 14:28:56 -0700 Subject: 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 --- audio/Android.mk | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 audio/Android.mk (limited to 'audio/Android.mk') 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) + -- cgit v1.1