Changeset 3403


Ignore:
Timestamp:
Jan 4, 2011 3:41:43 AM (13 years ago)
Author:
ming
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-audiodev/coreaudio_dev.c

    r3400 r3403  
    3737 
    3838    #define AudioDeviceID unsigned 
    39  
    40     /* For iPhone 2.x and earlier */ 
    41     #if __IPHONE_OS_VERSION_MIN_REQUIRED <= __IPHONE_2_2 
    42         #define kAudioUnitSubType_VoiceProcessingIO kAudioUnitSubType_RemoteIO 
    43         #define kAudioSessionProperty_OverrideCategoryEnableBluetoothInput -1 
    44     #endif 
    45  
    4639#endif 
    4740 
Note: See TracChangeset for help on using the changeset viewer.