mirror of
https://github.com/farcasclaudiu/openclaw.git
synced 2026-06-29 05:02:04 +03:00
fix: allow mp3 fallback result
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user