#include "linphonecore_utils.h"
+
static void play_finished(LsdPlayer *p){
const char *filename=(const char *)lsd_player_get_user_pointer (p);
ms_message("Playing of %s is finished.",filename);
}
static void wait_a_bit(LinphoneCore *lc, int seconds){
- time_t orig=time(NULL);
- while(time(NULL)-orig<seconds){
+ time_t orig=ms_time(NULL);
+ while(ms_time(NULL)-orig<seconds){
/* we need to call iterate to receive notifications */
linphone_core_iterate(lc);
ms_usleep (50000);