Expose dither for JNI (#2215)

This commit is contained in:
esavin
2025-05-14 18:38:25 +03:00
committed by GitHub
parent 2e9e0b4e9e
commit aeb311db50
5 changed files with 21 additions and 0 deletions

View File

@@ -3,6 +3,7 @@ package com.k2fsa.sherpa.onnx
data class FeatureConfig(
var sampleRate: Int = 16000,
var featureDim: Int = 80,
var dither: Float = 0.0f
)
fun getFeatureConfig(sampleRate: Int, featureDim: Int): FeatureConfig {