Skip to content

mainloop: fix timeout assignment in pa_mainloop_prepare

shdown requested to merge shdown/pulseaudio:poll_timeout_fix into master

The function calculates the correct timeout (in microseconds) to assign in the u variable, but then assigns m->prepared_timeout the value
of the timeout argument (in milliseconds).

Merge request reports