46b0f128bc
- RecorderService: rolling-window live pass with a dedicated live model (off/tiny/base, beam 1, 8 s ticks, time-based dedupe) and an automatic final pass with the selected model (beam 5) writing txt/srt/json - TranscriptFiles in core/whisper: desktop-compatible outputs, 5 JVM tests - WhisperEngine exposes modelName; UI: live-model dropdown, merged transcript view, share sheet; falls back to manual path without engine - live loop failures now logged (MeetRec tag) and surfaced in the UI (was silently swallowed), plus final-pass timing logs On-device measurements (Fairphone 6): tiny live ~0.6x realtime, small final ~0.8x realtime — motivates the planned whisper-server engine.
35 lines
741 B
Kotlin
35 lines
741 B
Kotlin
plugins {
|
|
alias(libs.plugins.android.library)
|
|
}
|
|
|
|
android {
|
|
namespace = "com.meetrec.core.whisper"
|
|
compileSdk = 36
|
|
|
|
defaultConfig {
|
|
minSdk = 29
|
|
ndk {
|
|
// Fairphone 6 (and virtually all current phones) are arm64.
|
|
abiFilters += "arm64-v8a"
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
|
|
externalNativeBuild {
|
|
cmake {
|
|
path = file("src/main/cpp/CMakeLists.txt")
|
|
version = "3.22.1"
|
|
}
|
|
}
|
|
|
|
ndkVersion = "27.1.12297006"
|
|
}
|
|
|
|
dependencies {
|
|
// TranscriptFiles is pure Kotlin and unit tested on the JVM.
|
|
testImplementation(libs.junit)
|
|
} |