Skip to content

Commit

Permalink
i9300: use opensource audio hal
Browse files Browse the repository at this point in the history
Change-Id: I7fc2ced9802d0519ea9be3e70a8c61425a5c1171
  • Loading branch information
codeworkx committed Jul 16, 2012
1 parent 284a05d commit 6befc18
Show file tree
Hide file tree
Showing 11 changed files with 3,188 additions and 3,221 deletions.
2 changes: 0 additions & 2 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ COMMON_GLOBAL_CFLAGS += -DSEC_HWJPEG_G2D
ENABLE_WEBGL := true

# Audio
BOARD_USE_SAMSUNG_SEPARATEDSTREAM := true
BOARD_USES_LIBMEDIA_WITH_AUDIOPARAMETER := true
BOARD_HAS_SAMSUNG_VOLUME_BUG := true

# HWComposer
BOARD_USES_HWCOMPOSER := true
Expand Down
33 changes: 33 additions & 0 deletions audio/Android.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# 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.$(TARGET_BOARD_PLATFORM)
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
LOCAL_MODULE_TAGS := optional

LOCAL_SRC_FILES := audio_hw.c ril_interface.c

LOCAL_C_INCLUDES += \
external/tinyalsa/include \
external/expat/lib \
system/media/audio_utils/include \
system/media/audio_effects/include

LOCAL_SHARED_LIBRARIES := liblog libcutils libtinyalsa libaudioutils libdl libexpat

include $(BUILD_SHARED_LIBRARY)
Loading

0 comments on commit 6befc18

Please sign in to comment.