libSceTextToSpeech2 技术债务
静默桩函数
- libSceTextToSpeech2 没有语音引擎:
sceTextToSpeech2Initialize、sceTextToSpeech2Open、sceTextToSpeech2Speak、sceTextToSpeech2Cancel、sceTextToSpeech2Close、sceTextToSpeech2Terminate以及系统/语音状态查询都会返回EOPNOTSUPP。初始化失败时,PPSA01317 会跳过旁白设置。
未知函数信息
- sceTextToSpeech2ConvertTextInt、sceTextToSpeech2GetAudioInt、sceTextToSpeech2InitializeInt、sceTextToSpeech2OpenInt、sceTextToSpeech2RegisterTextConversionItem 和 sceTextToSpeech2SynthesizeInt 的签名和行为未知。无参数的
int声明只是用于解析导入项的占位符,并非已确认的 ABI 签名;sceTextToSpeech2InitializeInt是参照sceTextToSpeech2Initialize推断的桩函数,会返回EOPNOTSUPP,而其他调用会通过NotImplemented_nid_no_patch抛出异常。只有13.60 导出清单 能确认这些名称和 NID;未经控制台实测。 - sceTextToSpeech2Initialize (libSceTextToSpeech2) - 语音引擎不可用时,控制台会返回什么错误尚不清楚;此处会返回内核的
EOPNOTSUPP(0x8002002D)。PPSA01317 会传入一个以 0x2000000 开始的参数,并且只检查返回值是否非零。
原文:docs/dev/debt/libSceTextToSpeech2.md · 固定提交:dcdfbef70008b4892048784b217f63ed1c286f5b
非官方中文译文。原作者:boykopovar 及 AnyPS5 项目贡献者。许可证:GPL-2.0-only;来源许可与修改说明。