Lines Matching refs:echo_reference
1041 if (in->echo_reference->read(in->echo_reference, &b) == 0)
1135 if (adev->echo_reference != NULL &&
1136 reference == adev->echo_reference) {
1139 adev->echo_reference = NULL;
1161 put_echo_reference(adev, adev->echo_reference);
1177 &adev->echo_reference);
1181 return adev->echo_reference;
1625 if (in->echo_reference != NULL) {
1807 in->echo_reference->write(in->echo_reference, &b);
2019 if (in->enable_aec && in->echo_reference == NULL) {
2020 in->echo_reference = get_echo_reference(adev,
2449 out->echo_reference = NULL;
2451 if (adev->echo_reference != NULL)
2452 out->echo_reference = adev->echo_reference;
2648 if (out->echo_reference != NULL) {
2649 out->echo_reference->write(out->echo_reference, NULL);
2651 ALOGV("%s: release_echo_reference %p", __func__, out->echo_reference);
2652 release_echo_reference(out->echo_reference);
2655 out->echo_reference = NULL;
3090 if (out->echo_reference != NULL) {
3091 ALOGV("%s: release_echo_reference %p", __func__, out->echo_reference);
3092 release_echo_reference(out->echo_reference);
3098 out->echo_reference = adev->echo_reference;
3129 if (out->echo_reference != NULL && pcm_device->pcm_profile->devices != SND_DEVICE_OUT_SPEAKER) {
3135 out->echo_reference->write(out->echo_reference, &b);
3513 if (in->echo_reference != NULL) {
3515 in->echo_reference->read(in->echo_reference, NULL);
3516 put_echo_reference(adev, in->echo_reference);
3517 in->echo_reference = NULL;