File tree 1 file changed +2
-11
lines changed
1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -312,11 +312,11 @@ actor ExpoSpeechRecognizer: ObservableObject {
312
312
try await Task . sleep ( nanoseconds: chunkDelayNs)
313
313
}
314
314
315
- print ( " Audio streaming ended " )
315
+ print ( " [expo-speech-recognition]: Audio streaming ended" )
316
316
request. endAudio ( )
317
317
// await self.playBack(playbackBuffers: playbackBuffers)
318
318
} catch {
319
- print ( " Error feeding audio file: \( error) " )
319
+ print ( " [expo-speech-recognition]: Error feeding audio file: \( error) " )
320
320
request. endAudio ( )
321
321
}
322
322
}
@@ -779,15 +779,6 @@ actor ExpoSpeechRecognizer: ObservableObject {
779
779
if receivedError || ( receivedFinalLikeResult && !continuous && !isSourcedFromFile)
780
780
|| receivedFinalResult
781
781
{
782
- if receivedError {
783
- print ( " Received error: \( String ( describing: error) ) " )
784
- } else if receivedFinalLikeResult {
785
- print ( " Received final like result " )
786
- } else if receivedFinalResult {
787
- print ( " Received final result " )
788
- } else {
789
- print ( " ending task " )
790
- }
791
782
Task { @MainActor in
792
783
await reset ( )
793
784
}
You can’t perform that action at this time.
0 commit comments