return 0;
}
+static int sound_stop(void)
+{
+ int ret;
+
+ /**
+ * @param filename [in] keytone filename to stop (can be null if whole exist keytones needs stops)
+ * int mm_sound_stop_keysound(const char *filename);
+ */
+ ret = mm_sound_stop_keysound(NULL);
+ if (ret == MM_ERROR_NONE) {
+ _D("stop success!");
+ return 0;
+ }
+ _E("mm_sound_stop_keysound() returned error(%d)", ret);
+ return ret;
+}
+
//LCOV_EXCL_START Not used function
static int sound_get_path(feedback_pattern_e pattern, char *buf, unsigned int buflen)
{
.init = sound_init,
.exit = sound_exit,
.play = sound_play,
+ .stop = sound_stop,
.is_supported = sound_is_supported,
.get_path = sound_get_path,
.set_path = sound_set_path,