- Timestamp:
- Jun 22, 2011 9:33:55 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/1.x/pjmedia/src/pjmedia-audiodev/symb_vas_dev.cpp
r3553 r3595 1747 1747 } 1748 1748 1749 /* Apply output volume setting if specified */1750 if (param->flags & PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING) {1751 stream_set_cap(&strm->base, PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING,1752 ¶m->output_vol);1753 }1754 1755 1749 /* Done */ 1756 1750 strm->base.op = &stream_op; … … 1946 1940 (now.MicroSecondsFrom(start) < VAS_WAIT_START * 1000)); 1947 1941 1948 if (stream->engine->IsStarted()) 1942 if (stream->engine->IsStarted()) { 1943 1944 /* Apply output volume setting if specified */ 1945 if (stream->param.flags & 1946 PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING) 1947 { 1948 stream_set_cap(strm, 1949 PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING, 1950 &stream->param.output_vol); 1951 } 1952 1949 1953 return PJ_SUCCESS; 1950 else1954 } else { 1951 1955 return PJ_ETIMEDOUT; 1956 } 1952 1957 } 1953 1958
Note: See TracChangeset
for help on using the changeset viewer.