mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
Set the send buffer size to prevent rendering silence in amongst our good data (this should be more sophisticated but that can wait for a glitch-free port)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2482 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
6c1dd6e54b
commit
6dc5e07977
1 changed files with 1 additions and 0 deletions
|
|
@ -227,6 +227,7 @@ static void on_connection(pa_socket_client *sc, pa_iochannel *io, void *userdata
|
|||
c->fd = pa_iochannel_get_send_fd(io);
|
||||
|
||||
pa_iochannel_set_noclose(io, TRUE);
|
||||
pa_iochannel_socket_set_sndbuf(io, 1024);
|
||||
pa_iochannel_free(io);
|
||||
|
||||
pa_make_tcp_socket_low_delay(c->fd);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue