Changeset 2494


Ignore:
Timestamp:
Mar 9, 2009 1:22:01 PM (11 years ago)
Author:
bennylp
Message:

WMME returns the updated volume setting in get_param()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/aps-direct/pjmedia/src/pjmedia-audiodev/wmme_dev.c

    r2492 r2494  
    10881088    pj_memcpy(pi, &strm->param, sizeof(*pi)); 
    10891089     
     1090    /* Update the volume setting */ 
     1091    if (stream_get_cap(s, PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING, 
     1092                      &pi->output_vol) == PJ_SUCCESS) 
     1093    { 
     1094        pi->flags |= PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING; 
     1095    } 
     1096 
    10901097    return PJ_SUCCESS; 
    10911098} 
Note: See TracChangeset for help on using the changeset viewer.