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
66a92bb8
Commit
66a92bb8
authored
Oct 13, 2017
by
Ghislain MARY
Browse files
Some const fixes.
parent
8f1ed031
Changes
2
Hide whitespace changes
Inline
Side-by-side
coreapi/linphonecore.c
View file @
66a92bb8
...
...
@@ -4142,7 +4142,7 @@ const char** linphone_core_get_video_devices(const LinphoneCore *lc){
return
lc
->
video_conf
.
cams
;
}
const
bctbx_list_t
*
linphone_core_get_sound_devices_list
(
LinphoneCore
*
lc
){
bctbx_list_t
*
linphone_core_get_sound_devices_list
(
const
LinphoneCore
*
lc
){
bctbx_list_t
*
cards_list
=
NULL
;
const
char
**
cards
=
lc
->
sound_conf
.
cards
;
for
(
const
char
*
c
=
*
cards
;
c
;
c
=*++
cards
)
{
...
...
@@ -4151,7 +4151,7 @@ const bctbx_list_t * linphone_core_get_sound_devices_list(LinphoneCore *lc){
return
cards_list
;
}
const
bctbx_list_t
*
linphone_core_get_video_devices_list
(
const
LinphoneCore
*
lc
){
bctbx_list_t
*
linphone_core_get_video_devices_list
(
const
LinphoneCore
*
lc
){
bctbx_list_t
*
cards_list
=
NULL
;
const
char
**
cards
=
lc
->
video_conf
.
cams
;
for
(
const
char
*
c
=
*
cards
;
c
;
c
=*++
cards
)
{
...
...
include/linphone/core.h
View file @
66a92bb8
...
...
@@ -2697,7 +2697,7 @@ LINPHONE_PUBLIC const char** linphone_core_get_sound_devices(LinphoneCore *lc);
* @return \bctbx_list{char *} An unmodifiable array of strings contanining the names of the available sound devices that is NULL terminated
* @ingroup media_parameters
**/
LINPHONE_PUBLIC
const
bctbx_list_t
*
linphone_core_get_sound_devices_list
(
LinphoneCore
*
lc
);
LINPHONE_PUBLIC
bctbx_list_t
*
linphone_core_get_sound_devices_list
(
const
LinphoneCore
*
lc
);
/**
* Use this function when you want to set the default sound devices
...
...
@@ -3613,7 +3613,7 @@ LINPHONE_PUBLIC const char** linphone_core_get_video_devices(const LinphoneCore
* @return \bctbx_list{char *} An unmodifiable array of strings contanining the names of the available video capture devices that is NULL terminated
* @ingroup media_parameters
**/
LINPHONE_PUBLIC
const
bctbx_list_t
*
linphone_core_get_video_devices_list
(
LinphoneCore
*
lc
);
LINPHONE_PUBLIC
bctbx_list_t
*
linphone_core_get_video_devices_list
(
const
LinphoneCore
*
lc
);
/**
* Sets the active video device.
...
...
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