Remove deprecated vconfkeys for vconf-internal package update 70/42670/2 accepted/tizen/mobile/20150708.015042 accepted/tizen/tv/20150708.015141 accepted/tizen/wearable/20150708.015234 submit/tizen/20150630.051205 submit/tizen/20150702.103311
authorSeungbae Shin <seungbae.shin@samsung.com>
Wed, 1 Jul 2015 11:05:32 +0000 (20:05 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Wed, 1 Jul 2015 11:21:47 +0000 (20:21 +0900)
Change-Id: I560b8a983197316337af9607d92982d1a8383857

mm_sound.c
mm_sound_pcm_async.c
packaging/libmm-sound.spec
server/mm_sound_mgr_asm.c

index 1bba912..9dfb50c 100644 (file)
@@ -800,7 +800,7 @@ int mm_sound_system_get_capture_status(system_audio_capture_status_t *status)
        }
 
        /*  Check whether sound is capturing */
-       vconf_get_int(VCONFKEY_SOUND_CAPTURE_STATUS, &on_capture); // need to check where it is set
+//     vconf_get_int(VCONFKEY_SOUND_CAPTURE_STATUS, &on_capture); // need to check where it is set
 
        if(on_capture)
                *status = SYSTEM_AUDIO_CAPTURE_ACTIVE;
index 6db311a..151080a 100644 (file)
@@ -964,16 +964,9 @@ int mm_sound_pcm_play_write_async(MMSoundPcmHandle_t handle, void* ptr, unsigned
 #endif
        /* Write */
 
-       /*  Check whether voicerecorder is running */
-       vconf_get_int(VCONFKEY_VOICERECORDER_STATE, &vr_state);
-
-       if (vr_state == VCONFKEY_VOICERECORDER_RECORDING) {
-               debug_log ("During VoiceRecording....MUTE!!!");
-       } else {
-               ret = pa_stream_write(pcmHandle->s, ptr, length_byte, NULL, 0LL, PA_SEEK_RELATIVE);
-               if (ret == 0) {
-                       ret = length_byte;
-               }
+    ret = pa_stream_write(pcmHandle->s, ptr, length_byte, NULL, 0LL, PA_SEEK_RELATIVE);
+       if (ret == 0) {
+               ret = length_byte;
        }
 
 EXIT:
index 7831b9e..83cf43e 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmm-sound
 Summary:    MMSound Package contains client lib and sound_server binary
-Version:    0.9.184
+Version:    0.9.185
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0
index d3d1ecd..dd8cc31 100644 (file)
@@ -2514,9 +2514,6 @@ int __asm_change_session (ASM_requests_t rcv_request, ASM_sound_events_t rcv_sou
                        case ASM_EVENT_EXCLUSIVE_RESOURCE:
                                if ( rcv_resource & ASM_RESOURCE_VOICECONTROL ) {
                                        debug_warning (" ****** ASM_RESOURCE_VOICECONTROL START ******\n");
-                                       if (vconf_set_int(VCONFKEY_SOUND_VOICE_CONTROL_STATUS, 1)) {
-                                               debug_error(" vconf_set_int(SOUND_VOICE_CONTROL_KEY, 1) fail\n");
-                                       }
                                        MMSoundMgrSessionSetVoiceControlState(true);
                                }
                                break;
@@ -2743,9 +2740,6 @@ int __asm_change_session (ASM_requests_t rcv_request, ASM_sound_events_t rcv_sou
                                if ( rcv_resource & ASM_RESOURCE_VOICECONTROL ) {
                                        debug_warning (" ****** ASM_RESOURCE_VOICECONTROL END ******\n");
                                        MMSoundMgrSessionSetVoiceControlState(false);
-                                       if (vconf_set_int(VCONFKEY_SOUND_VOICE_CONTROL_STATUS, 0)) {
-                                               debug_error(" vconf_set_int(SOUND_VOICE_CONTROL_KEY, 0) fail\n");
-                                       }
                                }
                                break;
                        default: