[v0.2.29] remove unnecessary logs 61/92061/2
authorGilbok Lee <gilbok.lee@samsung.com>
Thu, 13 Oct 2016 05:49:40 +0000 (14:49 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Thu, 13 Oct 2016 10:44:03 +0000 (19:44 +0900)
Change-Id: Ib8b82ab398f09b38f113281e36c778ff610a60c0

muse/src/muse_player.c

index d6c2a5c..41cb2d0 100644 (file)
@@ -48,7 +48,7 @@ static bool _create_export_data(muse_player_handle_s *muse_player, void *data, i
        tbm_bo_handle thandle;
        int bo_size = size + ext_size;
 
-       LOGD("ENTER");
+       /* LOGD("ENTER"); */
 
        *out_tfd = *out_key = INVALID_DEFAULT_VALUE;
 
@@ -95,7 +95,7 @@ static bool _create_export_data(muse_player_handle_s *muse_player, void *data, i
                goto ERROR;
        }
 
-       LOGD("bo %p, vaddr %p, size %d(%d, %d), tbm_fd %d", bo, thandle.ptr, bo_size, ext_size, size, tfd);
+       /* LOGD("bo %p, vaddr %p, size %d(%d, %d), tbm_fd %d", bo, thandle.ptr, bo_size, ext_size, size, tfd); */
 
        /* set bo info */
        export_data->tfd = tfd;
@@ -129,7 +129,7 @@ static bool _remove_export_data(muse_module_h module, int key, int remove_all)
        bool ret = TRUE;
        muse_player_handle_s *muse_player = NULL;
 
-       LOGD("ENTER");
+       /* LOGD("ENTER"); */
        if (module == NULL || (key < 0 && remove_all == FALSE)) {
                LOGE("invalid parameter %p, %d", module, key);
                return FALSE;
@@ -143,7 +143,7 @@ static bool _remove_export_data(muse_module_h module, int key, int remove_all)
                muse_player_export_data_s *export_data = NULL;
                g_mutex_lock(&muse_player->list_lock);
 
-               LOGE("number of remained buffer %d", g_list_length(muse_player->data_list));
+               /* LOGE("number of remained buffer %d", g_list_length(muse_player->data_list)); */
 
                for (iter = muse_player->data_list; iter; iter = g_list_next(iter)) {
 
@@ -167,7 +167,7 @@ static bool _remove_export_data(muse_module_h module, int key, int remove_all)
                                export_data = NULL;
 
                                if (!remove_all) {
-                                       LOGD("buffer key:%d, remove done", key);
+                                       /* LOGD("buffer key:%d, remove done", key); */
                                        g_mutex_unlock(&muse_player->list_lock);
                                        return ret;
                                }
@@ -773,7 +773,7 @@ static void _audio_frame_decoded_cb(player_audio_raw_data_s * audio_frame, void
        tbm_fd tfd = INVALID_DEFAULT_VALUE;
        int key = INVALID_DEFAULT_VALUE;
 
-       LOGD("ENTER");
+       /* LOGD("ENTER"); */
 
        if (audio_frame) {
                data = audio_frame->data;
@@ -2424,13 +2424,13 @@ int player_disp_set_streaming_playback_rate(muse_module_h module)
 int player_disp_return_buffer(muse_module_h module)    /* MUSE_PLAYER_API_RETURN_BUFFER */
 {
        int key = 0;
-       muse_player_handle_s *muse_player = NULL;
+       /* muse_player_handle_s *muse_player = NULL; */
 
-       muse_player = (muse_player_handle_s *)muse_core_ipc_get_handle(module);
+       /* muse_player = (muse_player_handle_s *)muse_core_ipc_get_handle(module); */
 
        player_msg_get(key, muse_core_client_get_msg(module));
 
-       LOGD("handle : %p, key : %d", muse_player, key);
+       /* LOGD("handle : %p, key : %d", muse_player, key); */
 
        if (!_remove_export_data(module, key, FALSE))
                LOGE("failed to remove export data : key %d", key);