poller-pa.c: abandon the idea of quitting the loop

There are no users of this API in practice,
and it prevents making the libpulse dependency optional.
This commit is contained in:
2021-11-07 14:45:56 +01:00
parent 931ae4f82f
commit 67bd22c154
3 changed files with 14 additions and 23 deletions

View File

@@ -2745,7 +2745,8 @@ main (int argc, char *argv[])
if (ctx.backend->start)
ctx.backend->start (ctx.backend);
poller_pa_run (ctx.api);
while (true)
poller_run (&ctx.poller);
if (ctx.backend->stop)
ctx.backend->stop (ctx.backend);