开发者

How can you add a fixed gain to an AudioGraph?

Is there an AudioUnit that can apply a fixed gain within an AudioGraph? Are there other alternative me开发者_如何学编程thods?


Unfortunately iOS only ships with 3 built-in AudioUnits that you can use, though it is possible to process raw sample data on the fly by setting up an AudioUnitRenderer. However, guessing from the name, you probably want to use the AU3DEmbeddedMixer AudioUnit if you are only interested in applying a quick gain reduction.

I'm not sure of the exact parameters required by this AU, but it shouldn't be too hard to figure out the header files.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜