Skip to content

Commit fbf5c02

Browse files
committed
fix: small fix
1 parent c948802 commit fbf5c02

File tree

1 file changed

+1
-1
lines changed
  • android_core/app/src/main/java/com/augmentos/augmentos_core/smarterglassesmanager/speechrecognition/augmentos

1 file changed

+1
-1
lines changed

android_core/app/src/main/java/com/augmentos/augmentos_core/smarterglassesmanager/speechrecognition/augmentos/SherpaOnnxTranscriber.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ private void runLoop() {
143143
if (fullData == null) continue;
144144

145145
// Convert PCM to float [-1.0, 1.0]
146-
float[] floatBuf = toFloatArray(data);
146+
float[] floatBuf = toFloatArray(fullData);
147147
stream.acceptWaveform(floatBuf, SAMPLE_RATE);
148148

149149
// Decode continuously while model is ready

0 commit comments

Comments
 (0)