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
651b8dda
Commit
651b8dda
authored
Dec 21, 2011
by
Sylvain Berfini
🐮
Browse files
Fix conferencing issue if no sound card
parent
7fb6ce42
Changes
1
Hide whitespace changes
Inline
Side-by-side
coreapi/linphonecore.c
View file @
651b8dda
...
...
@@ -3801,6 +3801,9 @@ static MSFilter *get_dtmf_gen(LinphoneCore *lc){
if
(
lc
->
ringstream
==
NULL
){
float
amp
=
0
.
1
;
MSSndCard
*
ringcard
=
lc
->
sound_conf
.
lsd_card
?
lc
->
sound_conf
.
lsd_card
:
lc
->
sound_conf
.
ring_sndcard
;
if
(
ringcard
==
NULL
)
return
NULL
;
lc
->
ringstream
=
ring_start
(
NULL
,
0
,
ringcard
);
ms_filter_call_method
(
lc
->
ringstream
->
gendtmf
,
MS_DTMF_GEN_SET_DEFAULT_AMPLITUDE
,
&
amp
);
lc
->
dmfs_playing_start_time
=
time
(
NULL
);
...
...
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