Commit 66a92bb8 authored by Ghislain MARY's avatar Ghislain MARY

Some const fixes.

parent 8f1ed031
......@@ -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) {
......
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment