Post

Replies

Boosts

Views

Activity

Reply to AVSpeechSynthesisProviderVoice audioFileSettings field
Apparently audioFileSettings is filled inside AVSpeechSynthesisProviderVoice automatically because on iOS 17 these information is well present on AVSpeechSynthesisVoice.audioFileSettings without doing anything AVSpeechSynthesisProviderVoice side. But on iOS 18.x it comes back empty @State private var voices: [AVSpeechSynthesisVoice] = [] List(voices.sorted(by: { $0.name < $1.name }), id: \.identifier) { voice in print(voice.audioFileSettings) } iOS 17.4 ["AVNumberOfChannelsKey": 1, "AVLinearPCMIsFloatKey": 1, "AVSampleRateKey": 22050, "AVLinearPCMIsBigEndianKey": 0, "AVLinearPCMBitDepthKey": 32, "AVLinearPCMIsNonInterleaved": 1, "AVFormatIDKey": 1819304813] iOS 18.3.1 / 18.4 [:]
Mar ’25