Ignore:
Timestamp:
Feb 29, 2016 1:10:21 AM (6 years ago)
Author:
ming
Message:

Re #1882 (misc): Fixed a bug in Android sound device backends which prevent them to create a unidirectional stream

File:
1 edited

Legend:

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

    r4960 r5248  
    490490    stream->pool = pool; 
    491491    pj_strdup2_with_null(pool, &stream->name, "OpenSL"); 
    492     stream->dir = PJMEDIA_DIR_CAPTURE_PLAYBACK; 
     492    stream->dir = param->dir; 
    493493    pj_memcpy(&stream->param, param, sizeof(*param)); 
    494494    stream->user_data = user_data; 
Note: See TracChangeset for help on using the changeset viewer.