Lines Matching refs:patch_handle
120 audio_patch_handle_t patch_handle; // Patch handle for this stream member
157 audio_patch_handle_t patch_handle; // Patch handle for this stream member
303 struct audio_device* adev, audio_patch_handle_t patch_handle) { in adev_get_stream_out_by_patch_handle_l() argument
307 if (out->patch_handle == patch_handle) { in adev_get_stream_out_by_patch_handle_l()
315 struct audio_device* adev, audio_patch_handle_t patch_handle) { in adev_get_stream_in_by_patch_handle_l() argument
319 if (in->patch_handle == patch_handle) { in adev_get_stream_in_by_patch_handle_l()
1577 audio_patch_handle_t *patch_handle = NULL; in adev_create_audio_patch() local
1603 patch_handle = &in->patch_handle; in adev_create_audio_patch()
1619 patch_handle = &out->patch_handle; in adev_create_audio_patch()
1626 if (!generatedPatchHandle && *patch_handle != *handle) { in adev_create_audio_patch()
1629 __func__, *handle, *patch_handle, io_handle); in adev_create_audio_patch()
1671 *patch_handle = *handle; in adev_create_audio_patch()
1695 audio_patch_handle_t patch_handle) in adev_release_audio_patch() argument
1700 struct stream_out *out = adev_get_stream_out_by_patch_handle_l(adev, patch_handle); in adev_release_audio_patch()
1707 out->patch_handle = AUDIO_PATCH_HANDLE_NONE; in adev_release_audio_patch()
1713 struct stream_in *in = adev_get_stream_in_by_patch_handle_l(adev, patch_handle); in adev_release_audio_patch()
1720 in->patch_handle = AUDIO_PATCH_HANDLE_NONE; in adev_release_audio_patch()
1725 ALOGE("%s cannot find stream with patch handle as %d", __func__, patch_handle); in adev_release_audio_patch()