* @brief This file contains the WAV player API
*/
-/**
- * @addtogroup CAPI_MEDIA_WAV_PLAYER_MODULE
- * @{
- */
-
-
-typedef struct _cb_data_ {
- wav_player_playback_completed_cb cb;
- void * user_data;
-} _cb_data;
-
-/**
- * @}
- */
-
int _convert_wav_player_error_code(const char *func, int code);
-void _internal_complete_cb(void *user_data, int id);
-int _start_with_stream_info(const char *path, sound_stream_info_h stream_info, unsigned int loop_count, wav_player_playback_completed_cb cb, void *user_data, int *id);
+int _wav_play_sound(const char *path, sound_stream_info_h stream_info, unsigned int loop_count,
+ wav_player_playback_completed_cb cb, void *user_data, int *id);
+int _wav_stop_sound(int id);
#ifdef __cplusplus
}