mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-28 00:29:21 +00:00
Use correct macro __ios --> TARGET_OS_IPHONE
This commit is contained in:
parent
f23b1d3246
commit
09f4e2324e
3 changed files with 8 additions and 4 deletions
|
|
@ -1179,7 +1179,7 @@ static void sound_config_read(LinphoneCore *lc)
|
|||
}
|
||||
|
||||
lc->sound_conf.latency=0;
|
||||
#ifndef __ios
|
||||
#if TARGET_OS_IPHONE
|
||||
tmp=TRUE;
|
||||
#else
|
||||
tmp=FALSE; /* on iOS we have builtin echo cancellation.*/
|
||||
|
|
@ -1687,7 +1687,7 @@ static void video_config_read(LinphoneCore *lc){
|
|||
|
||||
linphone_core_set_preferred_framerate(lc,lp_config_get_float(lc->config,"video","framerate",0));
|
||||
|
||||
#if defined(__ANDROID__) || defined(__ios)
|
||||
#if defined(__ANDROID__) || TARGET_OS_IPHONE
|
||||
automatic_video=0;
|
||||
#endif
|
||||
capture=lp_config_get_int(lc->config,"video","capture",1);
|
||||
|
|
|
|||
|
|
@ -21,11 +21,15 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|||
#include "private.h"
|
||||
#include <mediastreamer2/msfactory.h>
|
||||
|
||||
#if __APPLE__
|
||||
#include "TargetConditionals.h"
|
||||
#endif
|
||||
|
||||
int linphone_ringtoneplayer_start(MSFactory *factory, LinphoneRingtonePlayer* rp, MSSndCard* card, const char* ringtone, int loop_pause_ms) {
|
||||
return linphone_ringtoneplayer_start_with_cb(factory, rp, card, ringtone, loop_pause_ms, NULL, NULL);
|
||||
}
|
||||
|
||||
#ifdef __ios
|
||||
#if TARGET_OS_IPHONE
|
||||
|
||||
#include "ringtoneplayer_ios.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit b937df188829f73c3f5db35ff0191aa695f27884
|
||||
Subproject commit 81dd23b3125568af5aa4a2973105a1c98a153986
|
||||
Loading…
Add table
Reference in a new issue