summaryrefslogtreecommitdiff
path: root/tizen-audio-comm.c
diff options
context:
space:
mode:
Diffstat (limited to 'tizen-audio-comm.c')
-rw-r--r--tizen-audio-comm.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/tizen-audio-comm.c b/tizen-audio-comm.c
index 628e8d9..50f7802 100644
--- a/tizen-audio-comm.c
+++ b/tizen-audio-comm.c
@@ -22,9 +22,9 @@
#include "tizen-audio-internal.h"
-static audio_return_t __set_message_callback(audio_hal_t *ah, message_cb callback, void *user_data)
+static audio_return_e __set_message_callback(audio_hal_t *ah, message_cb callback, void *user_data)
{
- audio_return_t audio_ret = AUDIO_RET_OK;
+ audio_return_e audio_ret = AUDIO_RET_OK;
AUDIO_RETURN_VAL_IF_FAIL(ah, AUDIO_ERR_PARAMETER);
AUDIO_RETURN_VAL_IF_FAIL(callback, AUDIO_ERR_PARAMETER);
@@ -37,9 +37,9 @@ static audio_return_t __set_message_callback(audio_hal_t *ah, message_cb callbac
return audio_ret;
}
-static audio_return_t __unset_message_callback(audio_hal_t *ah)
+static audio_return_e __unset_message_callback(audio_hal_t *ah)
{
- audio_return_t audio_ret = AUDIO_RET_OK;
+ audio_return_e audio_ret = AUDIO_RET_OK;
AUDIO_RETURN_VAL_IF_FAIL(ah, AUDIO_ERR_PARAMETER);
@@ -51,9 +51,9 @@ static audio_return_t __unset_message_callback(audio_hal_t *ah)
return audio_ret;
}
-audio_return_t _audio_comm_init(audio_hal_t *ah)
+audio_return_e _audio_comm_init(audio_hal_t *ah)
{
- audio_return_t audio_ret = AUDIO_RET_OK;
+ audio_return_e audio_ret = AUDIO_RET_OK;
AUDIO_RETURN_VAL_IF_FAIL(ah, AUDIO_ERR_PARAMETER);
@@ -63,9 +63,9 @@ audio_return_t _audio_comm_init(audio_hal_t *ah)
return audio_ret;
}
-audio_return_t _audio_comm_deinit(audio_hal_t *ah)
+audio_return_e _audio_comm_deinit(audio_hal_t *ah)
{
- audio_return_t audio_ret = AUDIO_RET_OK;
+ audio_return_e audio_ret = AUDIO_RET_OK;
AUDIO_RETURN_VAL_IF_FAIL(ah, AUDIO_ERR_PARAMETER);
@@ -75,9 +75,9 @@ audio_return_t _audio_comm_deinit(audio_hal_t *ah)
return audio_ret;
}
-audio_return_t _audio_comm_send_message(audio_hal_t *ah, const char *name, int value)
+audio_return_e _audio_comm_send_message(audio_hal_t *ah, const char *name, int value)
{
- audio_return_t audio_ret = AUDIO_RET_OK;
+ audio_return_e audio_ret = AUDIO_RET_OK;
AUDIO_RETURN_VAL_IF_FAIL(ah, AUDIO_ERR_PARAMETER);
AUDIO_RETURN_VAL_IF_FAIL(name, AUDIO_ERR_PARAMETER);
@@ -90,9 +90,9 @@ audio_return_t _audio_comm_send_message(audio_hal_t *ah, const char *name, int v
return audio_ret;
}
-audio_return_t audio_add_message_cb(void *audio_handle, message_cb callback, void *user_data)
+audio_return_e audio_add_message_cb(void *audio_handle, message_cb callback, void *user_data)
{
- audio_return_t ret = AUDIO_RET_OK;
+ audio_return_e ret = AUDIO_RET_OK;
AUDIO_RETURN_VAL_IF_FAIL(audio_handle, AUDIO_ERR_PARAMETER);
AUDIO_RETURN_VAL_IF_FAIL(callback, AUDIO_ERR_PARAMETER);
@@ -104,9 +104,9 @@ audio_return_t audio_add_message_cb(void *audio_handle, message_cb callback, voi
return ret;
}
-audio_return_t audio_remove_message_cb(void *audio_handle, message_cb callback)
+audio_return_e audio_remove_message_cb(void *audio_handle, message_cb callback)
{
- audio_return_t ret = AUDIO_RET_OK;
+ audio_return_e ret = AUDIO_RET_OK;
AUDIO_RETURN_VAL_IF_FAIL(audio_handle, AUDIO_ERR_PARAMETER);
AUDIO_RETURN_VAL_IF_FAIL(callback, AUDIO_ERR_PARAMETER);