File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 11cmake_minimum_required(VERSION 3.3)
22
3- project(phone VERSION 0.9.0 LANGUAGES C CXX)
3+ project(phone VERSION 0.9.2 LANGUAGES C CXX)
44
55set(CMAKE_CXX_STANDARD 20)
66
Original file line number Diff line number Diff line change @@ -242,8 +242,10 @@ int main() {
242242 phone_refresh_audio_devices();
243243 size_t count = phone_get_audio_devices_count();
244244 size_t max_driver_name_length;
245- if (phone_get_audio_device_driver_name_length(&max_driver_name_length) != PHONE_STATUS_SUCCESS)
245+ if (phone_get_audio_device_driver_name_length(&max_driver_name_length) != PHONE_STATUS_SUCCESS) {
246246 fprintf(stderr, "%s\n", phone_last_error());
247+ break;
248+ }
247249 // +1 for zero termination!
248250 ++max_driver_name_length;
249251
You can’t perform that action at this time.
0 commit comments