From 63067866457feb9f952c3ce190bd6203cab107db Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Tue, 30 Dec 2025 14:35:53 +0100 Subject: [PATCH] fix: allow mp3 fallback result --- apps/macos/Sources/Clawdis/TalkModeRuntime.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/macos/Sources/Clawdis/TalkModeRuntime.swift b/apps/macos/Sources/Clawdis/TalkModeRuntime.swift index 04a732db0..0289c7c0a 100644 --- a/apps/macos/Sources/Clawdis/TalkModeRuntime.swift +++ b/apps/macos/Sources/Clawdis/TalkModeRuntime.swift @@ -539,7 +539,7 @@ actor TalkModeRuntime { self.phase = .speaking let sampleRate = TalkTTSValidation.pcmSampleRate(from: outputFormat) - let result: StreamingPlaybackResult + var result: StreamingPlaybackResult if let sampleRate { self.lastPlaybackWasPCM = true result = await self.playPCM(stream: stream, sampleRate: sampleRate)