Draft 2 (failed)
This commit is contained in:
@@ -19,13 +19,11 @@ namespace fs = std::filesystem;
|
||||
struct recognizer : genericObj {
|
||||
VoskRecognizer* rec{};
|
||||
ALCdevice* mic{};
|
||||
std::atomic_flag done {false};
|
||||
std::atomic_flag controller{false};
|
||||
void main();
|
||||
void acceptWaveForm();
|
||||
recognizer(model* model, int sampleRate, int index);
|
||||
~recognizer();
|
||||
void start();
|
||||
void stop();
|
||||
void deinit();
|
||||
void setSpkModel(spkModel* model);
|
||||
void setGrm(const std::string& grm);
|
||||
void setWords(bool words);
|
||||
|
||||
Reference in New Issue
Block a user