summaryrefslogtreecommitdiff
path: root/drivers/alsa
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-01-06 11:34:10 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-01-06 14:35:22 +0200
commitc69e0d16bc8adbe3d984f4f9953412986ed02791 (patch)
treec164078533bebe91a544618bf61c0a1045de886a /drivers/alsa
parent1f0dc026491539ed07f144e0aad29cdfeaa5f66d (diff)
Fix multiple missing UTF-8 decoding.
Diffstat (limited to 'drivers/alsa')
-rw-r--r--drivers/alsa/audio_driver_alsa.cpp4
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));
}
}