Changeset 4250


Ignore:
Timestamp:
Sep 10, 2012 10:58:08 AM (7 years ago)
Author:
ming
Message:

Re #1518: Modified Android Configuration interface setting as required instead of optional.

Requesting Android Configuration interface in optional mode is known to cause problem in devices such as Asus TFT 101 (and possibly HTC One X as well).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/android/pjmedia/src/pjmedia-audiodev/opensl_dev.c

    r4226 r4250  
    520520                                      SL_IID_ANDROIDCONFIGURATION}; 
    521521        const SLboolean req[3] = {SL_BOOLEAN_TRUE, SL_BOOLEAN_TRUE, 
    522                                   SL_BOOLEAN_FALSE}; 
     522                                  SL_BOOLEAN_TRUE}; 
    523523        SLAndroidConfigurationItf playerConfig; 
    524524        SLint32 streamType = SL_ANDROID_STREAM_VOICE; 
     
    618618        const SLInterfaceID ids[2] = {W_SL_IID_BUFFERQUEUE, 
    619619                                      SL_IID_ANDROIDCONFIGURATION}; 
    620         const SLboolean req[2] = {SL_BOOLEAN_TRUE, SL_BOOLEAN_FALSE}; 
     620        const SLboolean req[2] = {SL_BOOLEAN_TRUE, SL_BOOLEAN_TRUE}; 
    621621        SLAndroidConfigurationItf recorderConfig; 
    622622#else 
Note: See TracChangeset for help on using the changeset viewer.