Return error in tone parse 34/118534/4
authorJeongho Mok <jho.mok@samsung.com>
Mon, 13 Mar 2017 04:52:41 +0000 (13:52 +0900)
committerJeongho Mok <jho.mok@samsung.com>
Wed, 15 Mar 2017 04:03:24 +0000 (13:03 +0900)
[Version] 0.10.99
[Profile] Common
[Issue Type] Fix Bug

Change-Id: I96f4cd806b257ea00d7dea9c72dc61da80d2bd9c

packaging/libmm-sound.spec
server/plugin/tone/mm_sound_plugin_codec_tone.c

index 979d10f..ae893f7 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmm-sound
 Summary:    MMSound Package contains client lib and sound_server binary
-Version:    0.10.98
+Version:    0.10.99
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0
index 8599b9d..856cbbd 100644 (file)
@@ -761,7 +761,7 @@ int MMSoundPlugCodecToneParse(MMSourceType *source, mmsound_codec_info_t *info)
        debug_enter("\n");
        // do nothing
        debug_leave("\n");
-       return MM_ERROR_NONE;
+       return MM_ERROR_SOUND_UNSUPPORTED_MEDIA_TYPE;
 }
 
 int MMSoundPlugCodecToneCreate(mmsound_codec_param_t *param, mmsound_codec_info_t *info, MMHandleType *handle)