fix: allow mp3 fallback result

main
Peter Steinberger 2025-12-30 14:35:53 +01:00
parent d7b267843e
commit 6306786645
1 changed files with 1 additions and 1 deletions

View File

@ -539,7 +539,7 @@ actor TalkModeRuntime {
self.phase = .speaking self.phase = .speaking
let sampleRate = TalkTTSValidation.pcmSampleRate(from: outputFormat) let sampleRate = TalkTTSValidation.pcmSampleRate(from: outputFormat)
let result: StreamingPlaybackResult var result: StreamingPlaybackResult
if let sampleRate { if let sampleRate {
self.lastPlaybackWasPCM = true self.lastPlaybackWasPCM = true
result = await self.playPCM(stream: stream, sampleRate: sampleRate) result = await self.playPCM(stream: stream, sampleRate: sampleRate)