mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
Some const fixes.
This commit is contained in:
parent
8f1ed031da
commit
66a92bb88a
2 changed files with 4 additions and 4 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue