[pulseaudio-tickets] [Bug 94740] module zeroconf-discover doesn't detect all sinks on the remote / fails to construct the name for remote sink

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 30 14:04:31 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=94740

--- Comment #4 from Mistrzipan <mistrzipan at gmail.com> ---
(In reply to Raymond from comment #3)
> do the length exceed PA_NAME_MAX ?
> 
>  #define PA_NAME_MAX 128
> ...

as matter fact, it does ;-]

$ echo -n
'tunnel.raspberrypi.local.alsa_input.usb-C-Media_Electronics_Inc._SB_Easy_Record_SB_Connect_Hi-Fi_090804000001-00-HiFi.analog-stereo'
|wc -c
131

the question is where is the origin of this limitation ? by PA, as I pressume,
because Zeroconf doesn't seem to have such limitation. 

So there are two possible solution, to truncate the string on the server side
(complicated, because AvahiString is multipart, which one to choose to cut ?)

or ... increase PA_NAME_MAX :-D

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20160330/2bc834ab/attachment.html>


More information about the pulseaudio-bugs mailing list