Hello folks, I have an AUAudioUnit subclass which I'm using to process the audio played back by an AVPlayer instance.
The approach is to create a MTAudioProcessingTapRef, make the audio unit render within its MTAudioProcessingTapProcessCallback, and assign that tap as the tapProcessor property of the AVMutableAudioMix of a AVPlayerItem. This is pretty much Apple's reference implementation here: https://developer.apple.com/documentation/avfoundation/avaudiomixinputparameters/1388578-audiotapprocessor The tap works as intended, and the AVPlayer's audio flows through my audio unit's render callback. However, I initialise my audio unit with AudioComponentInstanceNew, so it's of type AudioUnit, so it can't seemingly expose the AUParameters properties it has as an AUAudioUnit. Does anyone have any ideas as to how I can control custom parameters of AUAudioUnit subclasses that are instantiated via AudioComponentInstanceNew? Thanks Ariel
_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (Coreaudio-api@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com This email sent to arch...@mail-archive.com