少年修仙传客户端基础资源
MacBuilder
2018-08-11 1f0a5bd700f61ee4f10fb865f808534b57d7728a
fixed 修改iOS的SDK代码,去掉语音中被误认为无用的注释
2个文件已修改
3 ■■■■ 已修改文件
.gitignore 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/Plugins/iOS/The2thWorldSDK/UniversalSDK.mm 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
.gitignore
@@ -37,3 +37,4 @@
AssetBundles/*
Assets/StreamingAssets/*
RunTimeLog/*
IOS_BUILD/
Assets/Plugins/iOS/The2thWorldSDK/UniversalSDK.mm
@@ -503,7 +503,7 @@
    while (len > 0)
    {
        int frame_opus_length = opus[0];
        //int length = opus_decode(dec, opus + sizeof(char), frame_opus_length, pcm, s_frameSize, 0);
        int length = opus_decode(dec, opus + sizeof(char), frame_opus_length, pcm, s_frameSize, 0);
        opus += sizeof(char) + frame_opus_length;
        pcm += s_frameSize;
        len = len - frame_opus_length - sizeof(char);