Commit 09f4e232 authored by Benjamin REIS's avatar Benjamin REIS

Use correct macro __ios --> TARGET_OS_IPHONE

parent f23b1d32
......@@ -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"
......
mediastreamer2 @ 81dd23b3
Subproject commit b937df188829f73c3f5db35ff0191aa695f27884
Subproject commit 81dd23b3125568af5aa4a2973105a1c98a153986
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