سؤال

Is there an AudioUnit that can apply a fixed gain within an AudioGraph? Are there other alternative methods?

هل كانت مفيدة؟

المحلول

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top