remove unused tizen-audio-comm.c 04/67304/1 accepted/tizen/common/20160429.170740 submit/tizen/20160429.044226 submit/tizen/20160429.074823
authorSeungbae Shin <seungbae.shin@samsung.com>
Tue, 26 Apr 2016 07:55:45 +0000 (16:55 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Tue, 26 Apr 2016 07:56:14 +0000 (16:56 +0900)
[Version] 0.2.19
[Profile] Common

Change-Id: I42e1efab8b6bc8cc2ce4c173868342ddaa835f20

packaging/audio-hal-ak4953.spec
tizen-audio-comm.c [deleted file]

index 2de1090788ef4b60e0ab07c23fa46692c78d5cb6..ecaaa284f5e40d0ff3e3a9a048da7e5634b1cd5e 100644 (file)
@@ -1,6 +1,6 @@
 Name:       audio-hal-ak4953
 Summary:    TIZEN Audio HAL for AK4953
-Version:    0.2.18
+Version:    0.2.19
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0
diff --git a/tizen-audio-comm.c b/tizen-audio-comm.c
deleted file mode 100644 (file)
index d94aa22..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-/*
- * audio-hal
- *
- * Copyright (c) 2000 - 2013 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * 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.
- *
- */
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-#include "tizen-audio-internal.h"
-
-audio_return_t _audio_comm_send_message(audio_hal_t *ah, const char *name, int value)
-{
-    audio_return_t audio_ret = AUDIO_RET_OK;
-
-    AUDIO_RETURN_VAL_IF_FAIL(ah, AUDIO_ERR_PARAMETER);
-    AUDIO_RETURN_VAL_IF_FAIL(name, AUDIO_ERR_PARAMETER);
-
-    AUDIO_LOG_DEBUG("send message : name(%s), value(%d)", name, value);
-    if (ah->comm.msg_cb) {
-        ah->comm.msg_cb(name, value, ah->comm.user_data);
-    }
-
-    return audio_ret;
-}
-
-audio_return_t _audio_comm_set_message_callback(audio_hal_t *ah, message_cb callback, void *user_data)
-{
-    audio_return_t audio_ret = AUDIO_RET_OK;
-
-    AUDIO_RETURN_VAL_IF_FAIL(ah, AUDIO_ERR_PARAMETER);
-    AUDIO_RETURN_VAL_IF_FAIL(callback, AUDIO_ERR_PARAMETER);
-
-    ah->comm.msg_cb = callback;
-    ah->comm.user_data = user_data;
-
-    AUDIO_LOG_DEBUG("message callback is set, callback(%p), user_data(%p)", ah->comm.msg_cb, ah->comm.user_data);
-
-    return audio_ret;
-}
-
-audio_return_t _audio_comm_unset_message_callback(audio_hal_t *ah)
-{
-    audio_return_t audio_ret = AUDIO_RET_OK;
-
-    AUDIO_RETURN_VAL_IF_FAIL(ah, AUDIO_ERR_PARAMETER);
-
-    ah->comm.msg_cb = NULL;
-    ah->comm.user_data = NULL;
-
-    AUDIO_LOG_DEBUG("message callback is unset");
-
-    return audio_ret;
-}
-
-audio_return_t _audio_comm_init(audio_hal_t *ah)
-{
-    audio_return_t audio_ret = AUDIO_RET_OK;
-
-    AUDIO_RETURN_VAL_IF_FAIL(ah, AUDIO_ERR_PARAMETER);
-
-    ah->comm.msg_cb = NULL;
-    ah->comm.user_data = NULL;
-
-    return audio_ret;
-}
-
-audio_return_t _audio_comm_deinit(audio_hal_t *ah)
-{
-    audio_return_t audio_ret = AUDIO_RET_OK;
-
-    AUDIO_RETURN_VAL_IF_FAIL(ah, AUDIO_ERR_PARAMETER);
-
-    ah->comm.msg_cb = NULL;
-    ah->comm.user_data = NULL;
-
-    return audio_ret;
-}