fix: allow mp3 fallback result
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user