diff options
author | Liong Sauw Ming <ming@teluu.com> | 2011-01-04 03:41:43 +0000 |
---|---|---|
committer | Liong Sauw Ming <ming@teluu.com> | 2011-01-04 03:41:43 +0000 |
commit | cd50e094430a4105fb181d0c524445a97bb21d35 (patch) | |
tree | 6aa7133cfee25231619cf226821d9fd3a08fbd0b /pjmedia/src/pjmedia-audiodev/coreaudio_dev.c | |
parent | a17b161c2602cf8b718c121e83bf7099c3f6e134 (diff) |
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
Diffstat (limited to 'pjmedia/src/pjmedia-audiodev/coreaudio_dev.c')
-rw-r--r-- | pjmedia/src/pjmedia-audiodev/coreaudio_dev.c | 7 |
1 files changed, 0 insertions, 7 deletions
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 <AudioToolbox/AudioServices.h> #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 */ |