Use C++ iostream in untar, enforce naming convention, remodel threading to use join, reduce lambda usage
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
#include "Util.h"
|
||||
|
||||
#include <vosk_api.h>
|
||||
|
||||
extern void free(void*);
|
||||
struct CommonModel {
|
||||
bool normalMdl;
|
||||
bool thrdUsed{};
|
||||
std::atomic_bool thrdUsed{};
|
||||
int index;
|
||||
std::thread t;
|
||||
std::function<void()> recognizerMain;
|
||||
std::string storepath;
|
||||
std::string id;
|
||||
std::variant<VoskModel*, VoskSpkModel*> mdl;
|
||||
|
||||
Reference in New Issue
Block a user