Skip to content

Commit

Permalink
remove debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jamsch committed Nov 25, 2024
1 parent 1730804 commit 4f99337
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions ios/ExpoSpeechRecognizer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -312,11 +312,11 @@ actor ExpoSpeechRecognizer: ObservableObject {
try await Task.sleep(nanoseconds: chunkDelayNs)
}

print("Audio streaming ended")
print("[expo-speech-recognition]: Audio streaming ended")
request.endAudio()
// await self.playBack(playbackBuffers: playbackBuffers)
} catch {
print("Error feeding audio file: \(error)")
print("[expo-speech-recognition]: Error feeding audio file: \(error)")
request.endAudio()
}
}
Expand Down Expand Up @@ -779,15 +779,6 @@ actor ExpoSpeechRecognizer: ObservableObject {
if receivedError || (receivedFinalLikeResult && !continuous && !isSourcedFromFile)
|| receivedFinalResult
{
if receivedError {
print("Received error: \(String(describing: error))")
} else if receivedFinalLikeResult {
print("Received final like result")
} else if receivedFinalResult {
print("Received final result")
} else {
print("ending task")
}
Task { @MainActor in
await reset()
}
Expand Down

0 comments on commit 4f99337

Please sign in to comment.