mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
don't set the sink/source descriptions manually, use the new functions pa_{sink,source}_set_description() instead
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1205 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
af1b0317f6
commit
bfa6604b1d
15 changed files with 69 additions and 41 deletions
|
|
@ -185,7 +185,8 @@ static int publish_service(struct userdata *u, struct service *s) {
|
|||
txt = avahi_string_list_add_printf(txt, "rate=%u", ss.rate);
|
||||
txt = avahi_string_list_add_printf(txt, "channels=%u", ss.channels);
|
||||
txt = avahi_string_list_add_pair(txt, "format", pa_sample_format_to_string(ss.format));
|
||||
txt = avahi_string_list_add_pair(txt, "description", description);
|
||||
if (description)
|
||||
txt = avahi_string_list_add_pair(txt, "description", description);
|
||||
|
||||
type = s->loaded.type;
|
||||
} else if (s->autoload.valid)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue