mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
fix build and bad declaration.
This commit is contained in:
parent
e4d97e2a51
commit
590f80a463
3 changed files with 3 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue