- Timestamp:
- Oct 18, 2016 12:38:18 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-audiodev/coreaudio_dev.m
r5171 r5463 53 53 /* Starting iOS SDK 7, Audio Session API is deprecated. */ 54 54 #define USE_AUDIO_SESSION_API 0 55 56 /* For better integration with CallKit features (available starting 57 * in iOS 10), let the application setup and manage its own 58 * audio session. 59 */ 60 #define SETUP_AV_AUDIO_SESSION 0 55 61 #endif 56 62 … … 336 342 #endif 337 343 344 #if SETUP_AV_AUDIO_SESSION 338 345 /* Initialize audio session category and mode */ 339 346 { … … 361 368 } 362 369 } 370 #endif 363 371 364 372 cf_instance = cf; … … 2081 2089 pj_mutex_unlock(stream->cf->mutex); 2082 2090 2083 #if !COREAUDIO_MAC 2091 #if !COREAUDIO_MAC && SETUP_AV_AUDIO_SESSION 2084 2092 if (should_deactivate) { 2085 2093 if ([stream->sess
Note: See TracChangeset
for help on using the changeset viewer.