From f9927c4de99f7d50acb196e8867c5a76b1893d07 Mon Sep 17 00:00:00 2001 From: Chun-Min Chang Date: Tue, 22 Mar 2022 17:41:26 -0700 Subject: Rename function --- src/cubeb_wasapi.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/cubeb_wasapi.cpp b/src/cubeb_wasapi.cpp index 959848d..59ba50d 100644 --- a/src/cubeb_wasapi.cpp +++ b/src/cubeb_wasapi.cpp @@ -2311,7 +2311,7 @@ setup_wasapi_stream_one_side(cubeb_stream * stm, #undef DIRECTION_NAME void -wasapi_find_matching_output_device(cubeb_stream * stm) +wasapi_find_bt_handsfree_output_device(cubeb_stream * stm) { HRESULT hr; cubeb_device_info * input_device = nullptr; @@ -2326,7 +2326,8 @@ wasapi_find_matching_output_device(cubeb_stream * stm) wchar_t * tmp = nullptr; hr = stm->input_device->GetId(&tmp); if (FAILED(hr)) { - LOG("Couldn't get input device id in wasapi_find_matching_output_device"); + LOG("Couldn't get input device id in " + "wasapi_find_bt_handsfree_output_device"); return; } com_heap_ptr device_id(tmp); @@ -2410,7 +2411,7 @@ setup_wasapi_stream(cubeb_stream * stm) // right output device, running at the same rate and with the same protocol // as the input. if (!stm->output_device_id) { - wasapi_find_matching_output_device(stm); + wasapi_find_bt_handsfree_output_device(stm); } } -- cgit v1.2.3