Changeset 6128
- Timestamp:
- Jan 8, 2020 8:55:30 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-audiodev/coreaudio_dev.m
r6127 r6128 1686 1686 } 1687 1687 if (param->flags & PJMEDIA_AUD_DEV_CAP_EC) { 1688 #if COREAUDIO_MAC 1689 /* Temporarily disable VPIO on Mac for stereo due to recording sound 1690 * artefacts. 1691 */ 1692 if (param->channel_count > 1) { 1693 strm->param.ec_enabled = PJ_FALSE; 1694 } 1695 #endif 1688 1696 status = ca_stream_set_cap(&strm->base, 1689 1697 PJMEDIA_AUD_DEV_CAP_EC, 1690 & param->ec_enabled);1698 &strm->param.ec_enabled); 1691 1699 if (status != PJ_SUCCESS) 1692 1700 strm->param.ec_enabled = PJ_FALSE; … … 1710 1718 if ((param->dir == PJMEDIA_DIR_CAPTURE_PLAYBACK && 1711 1719 param->rec_id == param->play_id) || 1712 (param->flags & PJMEDIA_AUD_DEV_CAP_EC && param->ec_enabled))1720 (param->flags & PJMEDIA_AUD_DEV_CAP_EC && strm->param.ec_enabled)) 1713 1721 { 1714 1722 /* If both input and output are on the same device or if EC is enabled,
Note: See TracChangeset
for help on using the changeset viewer.