Fixed #1 in TODO by using archive_read_data_into_fd.

This commit is contained in:
msqr1
2024-02-06 23:12:49 -08:00
parent 6fd7c7e191
commit 786eb87c27
6 changed files with 5929 additions and 30 deletions

View File

@@ -1,8 +1,10 @@
#include "spkModel.h"
#include "model.h"
#include "recognizer.h"
#include <emscripten/bind.h>
using namespace emscripten;
EMSCRIPTEN_BINDINGS() {
function("setLogLevel", &vosk_set_log_level, allow_raw_pointers());
class_<model>("model")