fixup! Fix mismatching function prototype 33/229033/1 accepted/tizen/unified/20200402.155346 submit/tizen/20200327.075055
authorSeungbae Shin <seungbae.shin@samsung.com>
Fri, 27 Mar 2020 07:23:26 +0000 (16:23 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Fri, 27 Mar 2020 07:23:26 +0000 (16:23 +0900)
Change-Id: Id158547ac10b3ceeabc8473ce10986d7c0d484fe

server/plugin/tone/mm_sound_plugin_codec_tone.c

index a8f0d50..e5c08ba 100644 (file)
@@ -1155,7 +1155,7 @@ exit:
        pthread_mutex_unlock(&toneInfo->mutex);
 
        if (toneInfo->stop_cb)
-               toneInfo->stop_cb(toneInfo->cb_param, false);
+               toneInfo->stop_cb(toneInfo->cb_param, toneInfo->thread_state == THREAD_STATE_STOP);
 
        debug_leave();
 }