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
b0c87802
Commit
b0c87802
authored
Feb 18, 2016
by
Gautier Pelloux-Prayer
Browse files
linphonecore.c: fix linphone_core_mic_enabled which returned opposite value in conference mode
parent
73a37d42
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
coreapi/conference.cc
coreapi/conference.cc
+1
-1
coreapi/linphonecore.c
coreapi/linphonecore.c
+1
-1
No files found.
coreapi/conference.cc
View file @
b0c87802
...
...
@@ -971,7 +971,7 @@ int linphone_conference_leave(LinphoneConference *obj) {
}
bool_t
linphone_conference_is_in
(
const
LinphoneConference
*
obj
)
{
return
((
Conference
*
)
obj
)
->
isIn
()
?
TRUE
:
FALSE
;
return
((
Conference
*
)
obj
)
->
isIn
();
}
AudioStream
*
linphone_conference_get_audio_stream
(
const
LinphoneConference
*
obj
)
{
...
...
coreapi/linphonecore.c
View file @
b0c87802
...
...
@@ -4921,7 +4921,7 @@ void linphone_core_enable_mic(LinphoneCore *lc, bool_t enable) {
bool_t
linphone_core_mic_enabled
(
LinphoneCore
*
lc
)
{
LinphoneCall
*
call
=
linphone_core_get_current_call
(
lc
);
if
(
linphone_core_is_in_conference
(
lc
)){
return
linphone_conference_microphone_is_muted
(
lc
->
conf_ctx
);
return
!
linphone_conference_microphone_is_muted
(
lc
->
conf_ctx
);
}
else
if
(
call
==
NULL
){
ms_warning
(
"%s(): No current call!"
,
__FUNCTION__
);
return
TRUE
;
...
...
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