diff options
author | Chun-Min Chang <[email protected]> | 2022-03-22 17:41:26 -0700 |
---|---|---|
committer | Chun-Min Chang <[email protected]> | 2022-03-23 09:21:42 -0700 |
commit | f9927c4de99f7d50acb196e8867c5a76b1893d07 (patch) | |
tree | 55f128819a55d2dee1eeac82856760b74578d6c3 /src | |
parent | 8a3d20b61a0e8a8d0daac27c28d62687ae7e8458 (diff) | |
download | cubeb-f9927c4de99f7d50acb196e8867c5a76b1893d07.tar.gz cubeb-f9927c4de99f7d50acb196e8867c5a76b1893d07.zip |
Rename function
Diffstat (limited to 'src')
-rw-r--r-- | src/cubeb_wasapi.cpp | 7 |
1 files 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<wchar_t> 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); } } |