mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-02-13 04:27:46 -05:00
Revert "mainloop: fix timeout assignment in pa_mainloop_prepare"
This reverts commit 6b1719d0ed, as it
inadvertently broke the semantics of timeout in the API.
Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/1039
This commit is contained in:
parent
2ea425d194
commit
e6b3edd3c1
2 changed files with 3 additions and 5 deletions
|
|
@ -85,7 +85,7 @@ void pa_mainloop_free(pa_mainloop* m);
|
|||
|
||||
/** Prepare for a single iteration of the main loop. Returns a negative value
|
||||
on error or exit request. timeout specifies a maximum timeout for the subsequent
|
||||
poll, or -1 for blocking behaviour. .*/
|
||||
poll, or -1 for blocking behaviour. The timeout is specified in microseconds. */
|
||||
int pa_mainloop_prepare(pa_mainloop *m, int timeout);
|
||||
|
||||
/** Execute the previously prepared poll. Returns a negative value on error.*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue