Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
590f80a4
Commit
590f80a4
authored
Jan 05, 2016
by
Simon Morlat
Browse files
fix build and bad declaration.
parent
e4d97e2a
Changes
3
Hide whitespace changes
Inline
Side-by-side
coreapi/Makefile.am
View file @
590f80a4
...
...
@@ -90,6 +90,7 @@ liblinphone_la_SOURCES=\
xml.c
\
xmlrpc.c
\
vtables.c
\
ringtoneplayer.c
\
$(GITVERSION_FILE)
if
BUILD_UPNP
...
...
coreapi/linphonecore.c
View file @
590f80a4
...
...
@@ -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
)
{
...
...
coreapi/ringtoneplayer.h
View file @
590f80a4
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment