diff options
Diffstat (limited to 'sound_detector/main.cpp')
-rw-r--r-- | sound_detector/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound_detector/main.cpp b/sound_detector/main.cpp index 295dc20..ca8b804 100644 --- a/sound_detector/main.cpp +++ b/sound_detector/main.cpp @@ -291,7 +291,7 @@ int main(int argc, char **argv) const PaDeviceInfo *info = Pa_GetDeviceInfo(i); //windows #ifdef WIN32 - char *name = to_utf8(info->name); + char *name = change_charset(info->name); printf("%d. %s, input channels %d, output channels %d, default sample rate %f, lowest input latency %f, highest input latency %f\n", i, name, info->maxInputChannels, info->maxOutputChannels, info->defaultSampleRate, info->defaultLowInputLatency, info->defaultHighInputLatency); free(name); |