Add Dart API for VAD (#904)

This commit is contained in:
Fangjun Kuang
2024-05-22 21:56:21 +08:00
committed by GitHub
parent 81346d1172
commit 49ee458bfb
11 changed files with 598 additions and 14 deletions

View File

@@ -1,8 +1,9 @@
// Copyright (c) 2024 Xiaomi Corporation
import 'dart:typed_data';
import 'dart:ffi';
import 'dart:typed_data';
import 'package:ffi/ffi.dart';
import "./sherpa_onnx_bindings.dart";
import './sherpa_onnx_bindings.dart';
class OnlineStream {
/// The user has to call OnlineStream.free() to avoid memory leak.