sound: Change mm_sound_play_keysound_ex() API name 19/303219/1 accepted/tizen/7.0/unified/20231222.101432
authorYunhee Seo <yuni.seo@samsung.com>
Thu, 21 Dec 2023 10:44:00 +0000 (19:44 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Thu, 21 Dec 2023 10:44:00 +0000 (19:44 +0900)
As the name mm_sound_play_keysound_ex() changes to mm_sound_play_keysound_priority(),
API name is changed.

Change-Id: I12b00e1b74e1acb645a1ec6c5338fab746db96c0
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
src/sound.c

index 486d0a8..cee9724 100644 (file)
@@ -553,12 +553,12 @@ check_pattern:
                        else
                                level = VOLUME_TYPE_SYSTEM;
 
-                       ret = mm_sound_play_keysound_ex(path, level, priority);
+                       ret = mm_sound_play_keysound_priority(path, level, priority);
                        if (ret == MM_ERROR_NONE) {
                                _D("Play success! %s(%s) priority %d", profile->str_pattern(pattern), path, priority);
                                return 0;
                        }
-                       _E("mm_sound_play_keysound_ex() returned error(%d)", ret); //LCOV_EXCL_LINE
+                       _E("mm_sound_play_keysound_priority() returned error(%d)", ret); //LCOV_EXCL_LINE
                } while (retry--); //LCOV_EXCL_LINE
        }
        return -EPERM;