Extend timeout period of waiting for mainloop running 23/170923/1
authorSangchul Lee <sc11.lee@samsung.com>
Tue, 16 Jan 2018 00:25:49 +0000 (09:25 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Fri, 23 Feb 2018 07:36:24 +0000 (16:36 +0900)
Sometimes it takes long time to change its state to "running" especially on TV target.

[Version] 0.12.10
[Issue Type] Enhancement

Change-Id: I2192047295794fbd21ca2a541826eaac1ed7c5f9
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
mm_sound_client.c
packaging/libmm-sound.spec

index 30afb7b..11671ea 100644 (file)
@@ -1794,7 +1794,7 @@ static int _focus_loop_is_running_timed_wait(GMainLoop *focus_loop, int timeout_
        return MM_ERROR_SOUND_INTERNAL;
 }
 
-#define LOOP_RUNNING_WAIT_TIME_MS 200
+#define LOOP_RUNNING_WAIT_TIME_MS 5000
 static int _focus_init_context(int index)
 {
        int ret = MM_ERROR_NONE;
index 8ddeecd..af0acd0 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmm-sound
 Summary:    MMSound Package contains client lib and sound_server binary
-Version:    0.12.9
+Version:    0.12.10
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0