summaryrefslogtreecommitdiff
path: root/pjmedia/src/pjmedia-audiodev
diff options
context:
space:
mode:
authorLiong Sauw Ming <ming@teluu.com>2012-04-24 10:26:07 +0000
committerLiong Sauw Ming <ming@teluu.com>2012-04-24 10:26:07 +0000
commit9683edf167e5ba635e4c0e9355757c830f36f4ff (patch)
treec4553cecd8e4eb5fc6ca5f9b153f53c674cb97f0 /pjmedia/src/pjmedia-audiodev
parent4a1a62eeeaeff0ed21f856d1955925bcc4d916aa (diff)
Fixed #1494: Use EC options to determine whether to use device/software EC
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4079 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/src/pjmedia-audiodev')
-rw-r--r--pjmedia/src/pjmedia-audiodev/coreaudio_dev.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pjmedia/src/pjmedia-audiodev/coreaudio_dev.c b/pjmedia/src/pjmedia-audiodev/coreaudio_dev.c
index c5a3e621..d0718979 100644
--- a/pjmedia/src/pjmedia-audiodev/coreaudio_dev.c
+++ b/pjmedia/src/pjmedia-audiodev/coreaudio_dev.c
@@ -1964,6 +1964,11 @@ static pj_status_t ca_stream_set_cap(pjmedia_aud_stream *s,
strm->cf->io_comp = io_comp;
strm->param.ec_enabled = *(pj_bool_t*)pval;
+ PJ_LOG(4, (THIS_FILE, "Using %s audio unit",
+ (desc.componentSubType ==
+ kAudioUnitSubType_RemoteIO? "RemoteIO":
+ "VoiceProcessingIO")));
+
return PJ_SUCCESS;
}
#endif