diff options
-rw-r--r-- | libaudioamp/audio_amplifier.c | 35 | ||||
-rw-r--r-- | libaudioamp/audio_amplifier.h | 28 | ||||
-rw-r--r-- | tfa9890/Android.mk (renamed from libaudioamp/Android.mk) | 18 | ||||
-rw-r--r-- | tfa9890/tfa9890.c (renamed from libaudioamp/tfa9890.c) | 0 | ||||
-rw-r--r-- | tfa9890/tfa9890.h (renamed from libaudioamp/tfa9890.h) | 0 | ||||
-rw-r--r-- | tfa9890/tfa9890_amp.c (renamed from libaudioamp/tfa9890_amp.c) | 0 |
6 files changed, 0 insertions, 81 deletions
diff --git a/libaudioamp/audio_amplifier.c b/libaudioamp/audio_amplifier.c deleted file mode 100644 index 62efb23..0000000 --- a/libaudioamp/audio_amplifier.c +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (C) 2013-2014, The CyanogenMod 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. - */ - -#include <system/audio.h> - -#include "tfa9890.h" - -int amplifier_open(void) { - return tfa9890_init(); -} - -void amplifier_set_devices(int devices __attribute__((unused))) { - // Do nothing. -} - -int amplifier_set_mode(audio_mode_t mode __attribute__((unused))) { - return 0; -} - -int amplifier_close(void) { - return 0; -} diff --git a/libaudioamp/audio_amplifier.h b/libaudioamp/audio_amplifier.h deleted file mode 100644 index e1a432c..0000000 --- a/libaudioamp/audio_amplifier.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (C) 2013, The CyanogenMod 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. - */ - -#if defined(__cplusplus) -extern "C" { -#endif - -int amplifier_open(void); -void amplifier_set_devices(int); -int amplifier_set_mode(audio_mode_t mode); -int amplifier_close(void); - -#if defined(__cplusplus) -} -#endif diff --git a/libaudioamp/Android.mk b/tfa9890/Android.mk index 1cdd81f..a4523e8 100644 --- a/libaudioamp/Android.mk +++ b/tfa9890/Android.mk @@ -3,24 +3,6 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_SHARED_LIBRARIES := \ - liblog libutils libcutils - -LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include -LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr - -LOCAL_SRC_FILES := \ - tfa9890.c \ - audio_amplifier.c - -LOCAL_MODULE := libaudioamp - -LOCAL_MODULE_TAGS := optional - -include $(BUILD_SHARED_LIBRARY) - -include $(CLEAR_VARS) - -LOCAL_SHARED_LIBRARIES := \ liblog libutils libcutils LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include diff --git a/libaudioamp/tfa9890.c b/tfa9890/tfa9890.c index 0220829..0220829 100644 --- a/libaudioamp/tfa9890.c +++ b/tfa9890/tfa9890.c diff --git a/libaudioamp/tfa9890.h b/tfa9890/tfa9890.h index f9f042e..f9f042e 100644 --- a/libaudioamp/tfa9890.h +++ b/tfa9890/tfa9890.h diff --git a/libaudioamp/tfa9890_amp.c b/tfa9890/tfa9890_amp.c index 81f4792..81f4792 100644 --- a/libaudioamp/tfa9890_amp.c +++ b/tfa9890/tfa9890_amp.c |