- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
现在我正在我的 Audio Unit proc 中获取 PCM 音频,它将传入的音频缓冲区数据写入循环缓冲区以在其他地方使用。
现在我想获取 iLBC 音频数据,所以我将 AudioStreamBasicDescription
mFormatID
更改为 kAudioFormatiLBC
。
但现在它崩溃了:
Error: StreamFormat kAudioUnitErr_FormatNotSupported
那么iLBC应该如何正确使用Audio Units实现呢?
非常感谢!
最佳答案
试一试
mRecordFormat.mSampleRate = 8000.0;
mRecordFormat.mFormatID = kAudioFormatiLBC;
mRecordFormat.mChannelsPerFrame = 1;
关于iOS:使用音频单元的 iLBC 编解码器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33614276/
现在我正在我的 Audio Unit proc 中获取 PCM 音频,它将传入的音频缓冲区数据写入循环缓冲区以在其他地方使用。 现在我想获取 iLBC 音频数据,所以我将 AudioStreamBas
一段时间以来,我一直在使用 gsm 编解码器进行网络音频聊天。由于“语音预测”,现在我想实现像 speex 或 iLBC 这样的 smth。据我了解,我需要数据包的时间戳。我也知道要使编解码器预测语音
如何获取通过 iPhone 录制的音频文件以在 Android 中播放。 最佳答案 我没有在 Android supported media formats 的解码器部分看到 iLBC 编解码器 查看
如何以 iLBC 格式录制音频?我从问题 # 1010343 得到了一些帮助,并实现了这段代码: NSMutableDictionary *recordSetting = [[NSMutableDic
二手http://www.ilbcfreeware.org/software.html - 我只从 ilbc_test.exe 创建的文件中获取静态数据。 还有人有其他建议吗?据我所知,sox 似乎无
我是一名优秀的程序员,十分优秀!