android sdk语音合成失败,播放不出来声
bao09bao25ok 发布于2018-11 浏览:1710 回复:2
0
收藏

日志如下:

11-14 10:24:19.787 9782 11178 D bdtts-AudioTrackPlayer: writtenbytes=3200--offset=0--dataLength=3200

11-14 10:24:19.787 640 1513 W APM::AudioPolicyManager: releaseOutput() releasing unknown output 449

11-14 10:24:19.787 9782 11178 D bdtts-AudioTrackPlayer: end put

11-14 10:24:19.787 9782 11178 D bdtts-PlayQueueMachine: end run

11-14 10:24:19.787 9782 11178 D bdtts-PlayQueueMachine: enter run

11-14 10:24:19.787 9782 11178 D bdtts-AudioTrackPlayer: enter put

11-14 10:24:19.787 9782 11178 D bdtts-UtteranceSubpackager: mCurrentProgressStartIndex=6400--mCurrentAllUtteranceLenght=6400--percent=1.0

11-14 10:24:19.787 9782 11178 D bdtts-AudioTrackPlayer: before write

11-14 10:24:19.788 9782 11178 D bdtts-AudioTrackPlayer: writtenbytes=1952--offset=0--dataLength=3200

11-14 10:24:19.788 9782 11178 D bdtts-AudioTrackPlayer: before write

11-14 10:24:19.788 9782 11178 D bdtts-AudioTrackPlayer: writtenbytes=0--offset=1952--dataLength=3200

11-14 10:24:19.788 9782 11178 D bdtts-AudioTrackPlayer: before write

11-14 10:24:19.788 9782 11178 D bdtts-AudioTrackPlayer: writtenbytes=0--offset=1952--dataLength=3200

11-14 10:24:19.788 9782 11178 D bdtts-AudioTrackPlayer: before write

11-14 10:24:19.788 9782 11178 D bdtts-AudioTrackPlayer: writtenbytes=0--offset=1952--dataLength=3200

11-14 10:24:19.788 9782 11178 D bdtts-AudioTrackPlayer: before write

11-14 10:24:19.788 9782 11178 D bdtts-AudioTrackPlayer: writtenbytes=0--offset=1952--dataLength=3200

11-14 10:24:19.788 9782 11178 D bdtts-AudioTrackPlayer: before write

11-14 10:24:19.788 9782 11178 D bdtts-AudioTrackPlayer: writtenbytes=0--offset=1952--dataLength=3200

11-14 10:24:19.788 9782 11178 D bdtts-AudioTrackPlayer: before write

11-14 10:24:19.788 9782 11178 D bdtts-AudioTrackPlayer: writtenbytes=0--offset=1952--dataLength=3200

11-14 10:24:19.788 9782 11178 D bdtts-AudioTrackPlayer: before write

11-14 10:24:19.788 9782 11178 D bdtts-AudioTrackPlayer: writtenbytes=0--offset=1952--dataLength=3200

11-14 10:24:19.788 9782 11178 D bdtts-AudioTrackPlayer: before write

11-14 10:24:19.788 9782 11178 D bdtts-AudioTrackPlayer: writtenbytes=0--offset=1952--dataLength=3200

11-14 10:24:19.788 9782 11178 D bdtts-AudioTrackPlayer: before write

11-14 10:24:19.788 9782 11178 D bdtts-AudioTrackPlayer: writtenbytes=0--offset=1952--dataLength=3200

最后两个日志一直在重复打印,无法合成完成。请问谁知道是为什么吗?

收藏
点赞
0
个赞
共2条回复 最后由用户已被禁言回复于2022-04
#3bao09bao25ok回复于2018-11

您好,这是百度做的,语音播放没有声音,打印出来发现合成这边出了异常,您知道如何解决吗?谢谢

0
#2goJhou回复于2018-11

文件没写全。这个写IO的操作是你自己做的吗

0
TOP
切换版块