Commit 590f80a4 authored by Simon Morlat's avatar Simon Morlat

fix build and bad declaration.

parent e4d97e2a
......@@ -90,6 +90,7 @@ liblinphone_la_SOURCES=\
xml.c \
xmlrpc.c \
vtables.c \
ringtoneplayer.c \
$(GITVERSION_FILE)
if BUILD_UPNP
......
......@@ -1732,7 +1732,7 @@ static void linphone_core_init(LinphoneCore * lc, const LinphoneCoreVTable *vtab
certificates_config_read(lc);
lc->ringtoneplayer = linphone_ringtoneplayer_new(lc);
lc->ringtoneplayer = linphone_ringtoneplayer_new();
remote_provisioning_uri = linphone_core_get_provisioning_uri(lc);
if (remote_provisioning_uri == NULL) {
......
......@@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
typedef void (*LinphoneRingtonePlayerFunc)(LinphoneRingtonePlayer* rp, void* user_data, int status);
LINPHONE_PUBLIC LinphoneRingtonePlayer* linphone_ringtoneplayer_new();
LINPHONE_PUBLIC LinphoneRingtonePlayer* linphone_ringtoneplayer_new(void);
LINPHONE_PUBLIC void linphone_ringtoneplayer_destroy(LinphoneRingtonePlayer* rp);
LINPHONE_PUBLIC int linphone_ringtoneplayer_start(LinphoneRingtonePlayer* rp, MSSndCard* card, const char* ringtone, int loop_pause_ms);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment