Changeset 4782 for pjproject


Ignore:
Timestamp:
Mar 6, 2014 5:15:19 AM (10 years ago)
Author:
bennylp
Message:

More re #1743: also added code snippet to make routing selection stick even when earpleace is plugged in/out. But this doesn't seem to work (tested on Q10 OS 10.2.1)

File:
1 edited

Legend:

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

    r4778 r4782  
    645645                stream->pb_ctrl_audio_manager_handle, 
    646646                AUDIO_TYPE_VIDEO_CHAT, 
    647                 AUDIO_DEVICE_DEFAULT, 
     647                AUDIO_DEVICE_SPEAKER, 
    648648                AUDIO_DEVICE_DEFAULT); 
    649649    } else { 
     
    653653                AUDIO_DEVICE_DEFAULT, 
    654654                AUDIO_DEVICE_DEFAULT); 
     655    } 
     656 
     657    /* Make the routing selection stick even when earpeace is plugged in. 
     658     * But this doesn't seem to work (tested on Q10 10.2.10 
     659     */ 
     660    if (ret == 0) { 
     661        ret = audio_manager_set_handle_routing_conditions( 
     662                stream->pb_ctrl_audio_manager_handle, 
     663                SETTINGS_NEVER_RESET); 
    655664    } 
    656665 
Note: See TracChangeset for help on using the changeset viewer.