diff --git a/Conjuga/Conjuga/Services/PronunciationService.swift b/Conjuga/Conjuga/Services/PronunciationService.swift index 0177bb9..fee2995 100644 --- a/Conjuga/Conjuga/Services/PronunciationService.swift +++ b/Conjuga/Conjuga/Services/PronunciationService.swift @@ -86,6 +86,7 @@ final class PronunciationService { } inputNode.installTap(onBus: 0, bufferSize: 1024, format: recordingFormat) { buffer, _ in + guard buffer.frameLength > 0 else { return } request.append(buffer) }