文件历史

26 次代码提交

作者 SHA1 备注 提交日期
Kevin Brown 3bc886a6c4 Add SpeechService constructor accepting a caller-supplied AudioRecord (#2044)
Allows callers to control the audio input device - for example, to pin
recording to the built-in microphone when an external USB camera without
a microphone causes Android to silently select the wrong input source.

The new overload (Recognizer, float, AudioRecord) mirrors the existing
(Recognizer, float) signature. Ownership semantics differ: the caller
supplies and owns the recorder, so on failure this constructor throws
without releasing it, leaving cleanup to the caller.

Co-authored-by: Kevin Brown <git@whidit.com>
2026-06-04 20:54:55 +03:00
Kevin Brown e81a422289 Add getAudioSessionId() getter to SpeechService (#2042)
Expose the AudioRecord session ID so callers can attach Android audio
effects (e.g. NoiseSuppressor, AcousticEchoCanceler) to the recording
session without subclassing or reflection.

Co-authored-by: Kevin Brown <git@whidit.com>
2026-05-29 08:50:13 +03:00
Nickolay Shmyrev 625e44c626 Bump JNA requirements to 5.18.1 and update version 2025-12-08 21:47:46 +01:00
Nickolay Shmyrev 056a2ad548 Updates for recent android 2025-09-03 09:46:07 +02:00
Nickolay Shmyrev 07a0ddb467 Add endpointer mode to java and csharp API 2025-09-03 07:14:40 +02:00
resignedScientist 24f0e0cff8 add 16 KB page size support (#1976)
Co-authored-by: Norman Laudien <kontakt@norman-laudien.de>
2025-08-25 02:08:01 +03:00
Nickolay Shmyrev f5540085b5 Add text processor wrapper for java 2024-08-22 03:13:44 +02:00
__Rylex__ 40937b6bcb Kaldi remove lm target because rnnlm has lm (#1543)
* Update Dockerfile.win

* Update Dockerfile.dockcross

* Update Dockerfile.manylinux

* Update Dockerfile.dockcross-manylinux

* Update Dockerfile.manylinux-mkl

* Update Dockerfile.win32

* Update build-vosk.sh
2024-04-01 15:58:09 +03:00
Nickolay Shmyrev 9cee2899bb Update publishing plugin and simplify gradle build 2023-03-15 22:50:42 +01:00
Nickolay Shmyrev 988ba3f257 Bump JNA dependency everywhere 2023-02-08 22:55:22 +01:00
Nickolay Shmyrev 2796da0a50 Sync android lib to java lib, throw exceptions on errors 2023-02-08 22:07:02 +01:00
Nickolay Shmyrev 7b7d814484 Introduce incremental decoder with confidences in partial results 2022-04-07 01:07:47 +02:00
Nickolay Shmyrev b0903413b1 Set soname for Android library 2022-01-21 13:22:26 +01:00
Nickolay Shmyrev a5d788a2e9 One more fix to expose aar dependencies 2021-11-10 00:33:03 +01:00
Nickolay Shmyrev 7f651e1e45 Expose JNA dependency. Fix issue #757 2021-11-09 23:02:17 +01:00
Nickolay Shmyrev 44f7dd2d8b Publish to sonatype 2021-11-07 20:41:49 +01:00
Nickolay Shmyrev 15a9508a78 Use ndk directory instead of sdk 2021-11-07 14:32:29 +01:00
Nickolay Shmyrev 81f58667ff Update Android build 2021-11-07 13:45:27 +01:00
Nickolay Shmyrev 195db43b9e Rename branches in kaldi repo 2021-10-07 01:18:47 +02:00
Nickolay Shmyrev 75bedfe06d Add a method to show/hide words and their times 2021-06-07 01:04:37 +02:00
Nickolay Shmyrev e74fe5edf7 Reset reset flag 2021-05-26 21:01:27 +02:00
Nickolay Shmyrev cbb5d0fcdf Implement reset method in SpeechService 2021-05-26 20:51:44 +02:00
Nickolay Shmyrev d489bc40e4 Update Java part too 2021-05-26 00:59:08 +02:00
Nickolay Shmyrev 91a128b3ed Fix package name 2021-04-15 13:54:48 +02:00
Nickolay Shmyrev 0881aa856f Update for new API 2021-04-15 12:56:59 +02:00
Nickolay V. Shmyrev 69992a1b39 Android through JNA framework unified with Java (#476)
* Move to JNA

* Update for android

* Joint publishing

* Fix the developer id

* Added grammar constructor for Java
2021-03-30 23:36:26 +03:00