prepare for threaded rendering?
one chip per thread.
This commit is contained in:
parent
ec4063641a
commit
7d0f816d11
3 changed files with 29 additions and 9 deletions
|
|
@ -39,6 +39,8 @@
|
|||
#include <unordered_map>
|
||||
#include <deque>
|
||||
|
||||
class DivWorkPool;
|
||||
|
||||
#define addWarning(x) \
|
||||
if (warnings.empty()) { \
|
||||
warnings+=x; \
|
||||
|
|
@ -485,6 +487,8 @@ class DivEngine {
|
|||
|
||||
size_t totalProcessed;
|
||||
|
||||
DivWorkPool* renderPool;
|
||||
|
||||
// MIDI stuff
|
||||
std::function<int(const TAMidiMessage&)> midiCallback=[](const TAMidiMessage&) -> int {return -2;};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue