Add C++ support for UVR models (#2269)

This commit is contained in:
Fangjun Kuang
2025-06-01 17:22:08 +08:00
committed by GitHub
parent e0ca224b76
commit 2b2788332e
35 changed files with 967 additions and 101 deletions

View File

@@ -244,8 +244,8 @@ Note that `zh` means Chinese, while `en` means English.
mic_sample_rate = atof(pSampleRateStr);
}
if (!mic.OpenDevice(device_index, mic_sample_rate, 1,
RecordCallback, nullptr /* user_data */)){
if (!mic.OpenDevice(device_index, mic_sample_rate, 1, RecordCallback,
nullptr /* user_data */)) {
fprintf(stderr, "portaudio error: %d\n", device_index);
exit(EXIT_FAILURE);
}