fix build and bad declaration.

This commit is contained in:
Simon Morlat 2016-01-05 21:25:14 +01:00
parent e4d97e2a51
commit 590f80a463
3 changed files with 3 additions and 2 deletions

View file

@ -90,6 +90,7 @@ liblinphone_la_SOURCES=\
xml.c \
xmlrpc.c \
vtables.c \
ringtoneplayer.c \
$(GITVERSION_FILE)
if BUILD_UPNP

View file

@ -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) {

View file

@ -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);