diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-01-06 14:46:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-06 14:46:48 +0100 |
commit | 84d82030c35017c7470d3373257437ee022024ae (patch) | |
tree | 015cc8a3b1c889245462f54879a74d469d777928 /drivers/alsa/audio_driver_alsa.cpp | |
parent | 985ae61ddaa33f45a0dcc70bd1e9de7150e2216e (diff) | |
parent | c69e0d16bc8adbe3d984f4f9953412986ed02791 (diff) |
Merge pull request #56549 from bruvzg/utf8_fixes
Diffstat (limited to 'drivers/alsa/audio_driver_alsa.cpp')
-rw-r--r-- | drivers/alsa/audio_driver_alsa.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/alsa/audio_driver_alsa.cpp b/drivers/alsa/audio_driver_alsa.cpp index 9cf2b7a7eb..7884269103 100644 --- a/drivers/alsa/audio_driver_alsa.cpp +++ b/drivers/alsa/audio_driver_alsa.cpp @@ -283,9 +283,9 @@ Array AudioDriverALSA::get_device_list() { if (name != nullptr && !strncmp(name, "plughw", 6)) { if (desc) { - list.push_back(String(name) + ";" + String(desc)); + list.push_back(String::utf8(name) + ";" + String::utf8(desc)); } else { - list.push_back(String(name)); + list.push_back(String::utf8(name)); } } |