Logo Search packages:      
Sourcecode: pulseaudio version File versions

int pa_mainloop_run ( pa_mainloop m,
int *  retval 
)

Run unlimited iterations of the main loop object until the main loop's quit() routine is called.

Definition at line 938 of file mainloop.c.

                                                 {
    int r;

    while ((r = pa_mainloop_iterate(m, 1, retval)) >= 0);

    if (r == -2)
        return 1;
    else if (r < 0)
        return -1;
    else
        return 0;
}


Generated by  Doxygen 1.6.0   Back to index