mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
socket-server: Make the new channel low-delay, not the listening one
I don't know if it matters a lot, but most certainly it must be the new channel that's supposed to be made low-delay, not the existing listening socket, right? Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This commit is contained in:
parent
71f81294e8
commit
911dbe6736
1 changed files with 2 additions and 2 deletions
|
|
@ -133,9 +133,9 @@ static void callback(pa_mainloop_api *mainloop, pa_io_event *e, int fd, pa_io_ev
|
|||
|
||||
/* There should be a check for socket type here */
|
||||
if (s->type == SOCKET_SERVER_IPV4)
|
||||
pa_make_tcp_socket_low_delay(fd);
|
||||
pa_make_tcp_socket_low_delay(nfd);
|
||||
else
|
||||
pa_make_socket_low_delay(fd);
|
||||
pa_make_socket_low_delay(nfd);
|
||||
|
||||
pa_assert_se(io = pa_iochannel_new(s->mainloop, nfd, nfd));
|
||||
s->on_connection(s, io, s->userdata);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue