mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
alsa: properly convert return values of snd_strerror() to utf8
This commit is contained in:
parent
39a26d8c6b
commit
98a25c506e
5 changed files with 86 additions and 53 deletions
|
|
@ -304,7 +304,7 @@ int pa__init(pa_module *m) {
|
|||
u->modargs = ma;
|
||||
|
||||
if ((alsa_card_index = snd_card_get_index(u->device_id)) < 0) {
|
||||
pa_log("Card '%s' doesn't exist: %s", u->device_id, snd_strerror(alsa_card_index));
|
||||
pa_log("Card '%s' doesn't exist: %s", u->device_id, pa_alsa_strerror(alsa_card_index));
|
||||
goto fail;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue