We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
首先,非常感谢您在简书上关于Audio Unit的文章以及这些开源的代码!节省了我很多时间,也给了我很大的帮助!
我在研究您的代码Tutorial07-AudioUnitPlayPCM中的LYPlayer.m时看到有一些代码初始化、管理了一个bufferlist变量,与我自己的代码对照后感觉不太对:我的bufferlist是从系统里拿的,为什么你的是自己创建的?
我仔细看了看,您的代码只是初始化、申请其内存、释放其内存,却从未向bufferlist中填充过任何有意义的内容。
于是我把您项目中有关bufferlist的代码全部注释掉,并且编译运行。代码在我的iPhone XS,iOS14.1上运行良好,声音正常播放。
注:因网络原因,我是从gitee上 https://gitee.com/wu_jian_jian/LearnVideoToolBox?_from=gitee_search 克隆的仓库。内容应该和这个仓库是一样的。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
首先,非常感谢您在简书上关于Audio Unit的文章以及这些开源的代码!节省了我很多时间,也给了我很大的帮助!
我在研究您的代码Tutorial07-AudioUnitPlayPCM中的LYPlayer.m时看到有一些代码初始化、管理了一个bufferlist变量,与我自己的代码对照后感觉不太对:我的bufferlist是从系统里拿的,为什么你的是自己创建的?
我仔细看了看,您的代码只是初始化、申请其内存、释放其内存,却从未向bufferlist中填充过任何有意义的内容。
于是我把您项目中有关bufferlist的代码全部注释掉,并且编译运行。代码在我的iPhone XS,iOS14.1上运行良好,声音正常播放。
注:因网络原因,我是从gitee上
https://gitee.com/wu_jian_jian/LearnVideoToolBox?_from=gitee_search
克隆的仓库。内容应该和这个仓库是一样的。
The text was updated successfully, but these errors were encountered: