From 109fb799cafa8178054a227ecb637d41036270e3 Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Wed, 27 Nov 2024 10:36:16 +0800 Subject: [PATCH] fix building for Android (#1568) --- sherpa-onnx/csrc/online-transducer-model.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sherpa-onnx/csrc/online-transducer-model.cc b/sherpa-onnx/csrc/online-transducer-model.cc index a38b5893f..9ebe40372 100644 --- a/sherpa-onnx/csrc/online-transducer-model.cc +++ b/sherpa-onnx/csrc/online-transducer-model.cc @@ -206,7 +206,7 @@ std::unique_ptr OnlineTransducerModel::Create( #if __ANDROID_API__ >= 9 template std::unique_ptr OnlineTransducerModel::Create( - Manager *mgr, const OnlineModelConfig &config); + AAssetManager *mgr, const OnlineModelConfig &config); #endif #if __OHOS__