Added the "locale" parameter to the initializer for the AudioTranscribingService service in the Recording package target.

This commit is contained in:
2026-07-04 10:15:18 +02:00
parent 9c366b98cb
commit 2b62de5154
2 changed files with 28 additions and 10 deletions
@@ -12,7 +12,9 @@ struct DummyTranscribingService: TranscribingService {
///
/// - Parameter audio: The recorded audio to transcribe.
/// - Returns: A dummy transcription.
func transcribe(_ audio: Data) async throws -> String {
func transcribe(
_ audio: Data
) async throws -> String {
try await Task.sleep(for: Constant.Delay.transcribing)
return Constant.Text.transcription