mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-13 13:29:58 -05:00
bluetooth: allow UTF-8 in device descriptions
Users may configure the device alias to have characters outside the ASCII range, so our name cleanup routine was too aggressive. Let's just make sure that the device description is a valid UTF-8 string. BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=98160
This commit is contained in:
parent
b53dd1f0df
commit
d7e85813bd
4 changed files with 4 additions and 67 deletions
|
|
@ -155,8 +155,6 @@ typedef enum pa_bluez4_form_factor {
|
|||
pa_bluez4_form_factor_t pa_bluez4_get_form_factor(uint32_t class);
|
||||
const char *pa_bluez4_form_factor_to_string(pa_bluez4_form_factor_t ff);
|
||||
|
||||
char *pa_bluez4_cleanup_name(const char *name);
|
||||
|
||||
const char *pa_bluez4_profile_to_string(pa_bluez4_profile_t profile);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue