fixup! move __IsReady function into the critical section 24/245324/1 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.122147 accepted/tizen/6.0/unified/hotfix/20201103.004501 accepted/tizen/6.0/unified/hotfix/20201103.051654 accepted/tizen/unified/20201007.090602 submit/tizen/20201007.064048 submit/tizen_6.0/20201029.205102 submit/tizen_6.0_hotfix/20201102.192502 submit/tizen_6.0_hotfix/20201103.114802 tizen_6.0.m2_release
authorSeungbae Shin <seungbae.shin@samsung.com>
Wed, 7 Oct 2020 06:00:04 +0000 (15:00 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Wed, 7 Oct 2020 06:00:13 +0000 (15:00 +0900)
hotfix for webtct failure

Change-Id: I63d9ed1bedda30f7fe065c3f819118b423a8b929

packaging/capi-media-audio-io.spec
src/cpp/CPulseAudioClient.cpp

index ad439bc..0b6de5d 100644 (file)
@@ -1,6 +1,6 @@
 Name:           capi-media-audio-io
 Summary:        An Audio Input & Audio Output library in Tizen Native API
-Version:        0.5.33
+Version:        0.5.34
 Release:        0
 Group:          Multimedia/API
 License:        Apache-2.0
index 7367327..57750e4 100644 (file)
@@ -486,12 +486,10 @@ void CPulseAudioClient::finalize() {
         return;
 
     bool is_in_thread = isInThread();
-
-    __mIsInit = false;
-
     if (!is_in_thread)
         pa_threaded_mainloop_lock(__mpMainloop);
 
+    __mIsInit = false;
     /* clear callbacks */
     if (__mpStream) {
         if (__mDirection == EStreamDirection::STREAM_DIRECTION_PLAYBACK)