*/
int wav_player_play_simple(const char *path, const char *stream_role);
+/**
+ * @internal
+ * @brief Plays a WAV file after stopping previous WAV playbacks
+ * @since_tizen 7.0
+ *
+ * @param[in] path The file path to play
+ * @param[in] stream_info The sound stream information handle
+ * @param[in] loop_count The number of times the file should be played (@c 0 indicates infinite loops)
+ * @param[in] callback The callback function to be invoked when the WAV file is no longer being played
+ * @param[in] user_data The user data to be passed to the callback function
+ * @param[out] id The WAV player ID (can be set to @c NULL)
+ *
+ * @return @c 0 on success,
+ * otherwise a negative error value
+ * @retval #WAV_PLAYER_ERROR_NONE Successful
+ * @retval #WAV_PLAYER_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #WAV_PLAYER_ERROR_INVALID_OPERATION Invalid operation
+ * @retval #WAV_PLAYER_ERROR_FORMAT_NOT_SUPPORTED Not supported format
+ * @retval #WAV_PLAYER_ERROR_NOT_SUPPORTED_TYPE Not supported stream type
+ *
+ */
+int wav_player_start_loop_stop_others(const char *path,
+ sound_stream_info_h stream_info,
+ unsigned int loop_count,
+ wav_player_playback_completed_cb callback,
+ void *user_data,
+ int *id);
+
/**
* @}
}
#endif
-#endif /* __TIZEN_MEDIA_WAV_PLAYER_INTERNAL_H__ */
\ No newline at end of file
+#endif /* __TIZEN_MEDIA_WAV_PLAYER_INTERNAL_H__ */