simplify rt loops a bit by moving more code into pa_rtpoll. It is now possible to attach "work" functions to a pa_rtpoll_item, which will be called in each loop iteration. This allows us to hide the message processing in the RT loops and to drop the seperate sink_input->process hooks. Basically, only the driver-specific code remains in the RT loops.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1822 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2007-09-14 21:51:05 +00:00
parent f0b9dce32e
commit 3396b65f15
19 changed files with 182 additions and 272 deletions

View file

@ -148,7 +148,6 @@ pa_source_output* pa_source_output_new(
o->channel_map = data->channel_map;
o->push = NULL;
o->process = NULL;
o->kill = NULL;
o->get_latency = NULL;
o->detach = NULL;
@ -204,7 +203,6 @@ void pa_source_output_unlink(pa_source_output*o) {
pa_source_update_status(o->source);
o->push = NULL;
o->process = NULL;
o->kill = NULL;
o->get_latency = NULL;
o->attach = NULL;