|
Ingen
0.5.1
|
Processor for Events after leaving the audio thread. More...
#include <PostProcessor.hpp>
Public Member Functions | |
| PostProcessor (Engine &engine) | |
| void | append (RunContext &context, Event *first, Event *last) |
| Push a list of events on to the process queue. More... | |
| void | process () |
| Post-process and delete all pending events. | |
| bool | pending () const |
| Return true iff any events are pending. | |
| void | set_end_time (FrameTime time) |
| Set the latest event time that should be post-processed. | |
Processor for Events after leaving the audio thread.
The audio thread pushes events to this when it is done with them (which is realtime-safe), which signals the processing thread through a semaphore to handle the event and pass it on to the Maid.
Update: This is all run from main_iteration now to solve scripting thread issues. Not sure if this is permanent/ideal or not...
| void Ingen::Server::PostProcessor::append | ( | RunContext & | context, |
| Event * | first, | ||
| Event * | last | ||
| ) |
Push a list of events on to the process queue.
realtime-safe, not thread-safe.
References Ingen::Server::Event::next().
Referenced by Ingen::Server::PreProcessor::process().
1.8.12