From cd50e094430a4105fb181d0c524445a97bb21d35 Mon Sep 17 00:00:00 2001 From: Liong Sauw Ming Date: Tue, 4 Jan 2011 03:41:43 +0000 Subject: As compared to iOS SDK 3.x, in iOS SDK 4.x, __IPHONE_OS_VERSION_MIN_REQUIRED is defined only when -miphoneos-version-min is used (see the SDK's AvailabilityInternal.h). This causes coreaudio_dev to be compiled using RemoteIO (instead of VPIO) and without Bluetooth support. This revision fixes #1194. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3403 74dad513-b988-da41-8d7b-12977e46ad98 --- pjmedia/src/pjmedia-audiodev/coreaudio_dev.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'pjmedia/src/pjmedia-audiodev/coreaudio_dev.c') diff --git a/pjmedia/src/pjmedia-audiodev/coreaudio_dev.c b/pjmedia/src/pjmedia-audiodev/coreaudio_dev.c index 06a9946a..b235b7e5 100644 --- a/pjmedia/src/pjmedia-audiodev/coreaudio_dev.c +++ b/pjmedia/src/pjmedia-audiodev/coreaudio_dev.c @@ -36,13 +36,6 @@ #include #define AudioDeviceID unsigned - - /* For iPhone 2.x and earlier */ - #if __IPHONE_OS_VERSION_MIN_REQUIRED <= __IPHONE_2_2 - #define kAudioUnitSubType_VoiceProcessingIO kAudioUnitSubType_RemoteIO - #define kAudioSessionProperty_OverrideCategoryEnableBluetoothInput -1 - #endif - #endif /* For Mac OS 10.5.x and earlier */ -- cgit v1.2.3