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
933b6559
Commit
933b6559
authored
Apr 22, 2013
by
Simon Morlat
Browse files
update ms2 and cleanup dead function
parent
18cdaef2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
21 deletions
+1
-21
coreapi/linphonecore.c
coreapi/linphonecore.c
+0
-20
mediastreamer2
mediastreamer2
+1
-1
No files found.
coreapi/linphonecore.c
View file @
933b6559
...
...
@@ -4927,26 +4927,6 @@ void linphone_core_play_dtmf(LinphoneCore *lc, char dtmf, int duration_ms){
else
ms_filter_call_method
(
f
,
MS_DTMF_GEN_START
,
&
dtmf
);
}
/**
* @ingroup media_parameters
* Plays a repeated tone to the local user until next further call to #linphone_core_stop_dtmf()
* @param lc #LinphoneCore
**/
void
linphone_core_play_tone
(
LinphoneCore
*
lc
){
MSFilter
*
f
=
get_dtmf_gen
(
lc
);
MSDtmfGenCustomTone
def
;
if
(
f
==
NULL
){
ms_error
(
"No dtmf generator at this time !"
);
return
;
}
memset
(
&
def
,
0
,
sizeof
(
def
));
def
.
duration
=
300
;
def
.
frequencies
[
0
]
=
500
;
def
.
amplitude
=
1
;
def
.
interval
=
2000
;
ms_filter_call_method
(
f
,
MS_DTMF_GEN_PLAY_CUSTOM
,
&
def
);
}
void
linphone_core_play_named_tone
(
LinphoneCore
*
lc
,
LinphoneToneID
toneid
){
if
(
linphone_core_tone_indications_enabled
(
lc
)){
MSFilter
*
f
=
get_dtmf_gen
(
lc
);
...
...
mediastreamer2
@
23b802c4
Subproject commit 2
720ab1d1568ced6f0bf63e454a35f340d8ace64
Subproject commit 2
3b802c4631fdf909a218a0dd0a77c6cf6d4d5a9
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