Changeset 4960 for pjproject/trunk
- Timestamp:
- Nov 13, 2014 1:48:34 AM (10 years ago)
- Location:
- pjproject/trunk/pjmedia/src/pjmedia-audiodev
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-audiodev/android_jni_dev.c
r4927 r4960 675 675 676 676 if (mic_source == 0) { 677 char sdk_version[PROP_VALUE_MAX]; 677 /* Android-L (android-21) removes __system_property_get 678 * from the NDK. 679 */ 680 /* 681 char sdk_version[PROP_VALUE_MAX]; 678 682 pj_str_t pj_sdk_version; 679 683 int sdk_v; … … 683 687 sdk_v = pj_strtoul(&pj_sdk_version); 684 688 if (sdk_v > 10) 685 mic_source = 7; /* VOICE_COMMUNICATION */ 689 */ 690 mic_source = 7; /* VOICE_COMMUNICATION */ 686 691 } 687 692 PJ_LOG(4, (THIS_FILE, "Using audio input source : %d", mic_source)); -
pjproject/trunk/pjmedia/src/pjmedia-audiodev/opensl_dev.c
r4731 r4960 647 647 SLint32 streamType = SL_ANDROID_RECORDING_PRESET_GENERIC; 648 648 #if __ANDROID_API__ >= 14 649 streamType = SL_ANDROID_RECORDING_PRESET_VOICE_COMMUNICATION; 650 #endif 651 #if 0 652 /* Android-L (android-21) removes __system_property_get 653 * from the NDK. 654 */ 649 655 char sdk_version[PROP_VALUE_MAX]; 650 656 pj_str_t pj_sdk_version;
Note: See TracChangeset
for help on using the changeset viewer.