Skip to content
New issue

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

外部输入数据源怎么混 #3

Open
zhanganl opened this issue May 23, 2019 · 1 comment
Open

外部输入数据源怎么混 #3

zhanganl opened this issue May 23, 2019 · 1 comment

Comments

@zhanganl
Copy link

我这边有个场景是:有个两个实时退出samplebuffer的音频源,我想混音成一路,请问可以做到吗?如果可以,可以指点一下吗?谢谢

@JustinYangJing
Copy link
Owner

好就没打开看消息了, 看了下从CMSampleBufferRef里获取PCM的api,觉得的使用CMSampleBufferGetAudioBufferListWithRetainedBlockBuffer获取AudioBufferList,把AudioBufferList里的数据填充到renderInput的ioData中。未测试过

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants