Change volume type of feedback. 16/311216/1
authorHosang Kim <hosang12.kim@samsung.com>
Thu, 16 May 2024 07:16:52 +0000 (16:16 +0900)
committerHosang Kim <hosang12.kim@samsung.com>
Thu, 16 May 2024 07:16:52 +0000 (16:16 +0900)
TTS using 'system' volume type, so changing sound feedback's volume type
to 'system'.

Change-Id: Ifb58aa300c27f0491b785f1933f8d2d8a44dae25

src/smart_notification.c

index d24dd276716a3f1302cd63ec08a14964c7d05216..7d90cfe94706ec2f08ec1b58de56408d249257ac 100644 (file)
@@ -57,7 +57,7 @@ static void _play_sound(const char *file)
 {
        gchar *wav_path = _get_sound_path(file);
        if (wav_path) {
-               mm_sound_play_keysound(wav_path, VOLUME_TYPE_MEDIA);
+               mm_sound_play_keysound(wav_path, VOLUME_TYPE_SYSTEM);
                g_free(wav_path);
        } else {
                ERROR("Cannot play sound, the sound path is null");