redo core switching

This commit is contained in:
Eknous-P 2023-08-18 10:40:18 +04:00
parent 12d7911d1a
commit 74e803d4e9
5 changed files with 134 additions and 112 deletions

View file

@ -201,7 +201,7 @@ struct DivDispatchContainer {
void flush(size_t count);
void fillBuf(size_t runtotal, size_t offset, size_t size);
void clear();
void init(DivSystem sys, DivEngine* eng, int chanCount, double gotRate, const DivConfig& flags);
void init(DivSystem sys, DivEngine* eng, int chanCount, double gotRate, const DivConfig& flags, bool isRender=false);
void quit();
DivDispatchContainer():
dispatch(NULL),
@ -1132,7 +1132,7 @@ class DivEngine {
TAAudioDesc& getAudioDescGot();
// init dispatch
void initDispatch();
void initDispatch(bool isRender=false);
// quit dispatch
void quitDispatch();