MTAudioProcessingTapRef, AudioUnits and AVAudioSession
MTAudioProcessingTapRef, AudioUnits and AVAudioSession
- Subject: MTAudioProcessingTapRef, AudioUnits and AVAudioSession
- From: Haeng Kim <email@hidden>
- Date: Fri, 20 Jun 2014 14:38:42 -0700
Hello,
I'm somewhat new to CoreAudio, so I'm not sure if it's even possible to do what I'm describing below, but I thought I'd see if anyone here could provide some guidance.
I'd like to use MTAudioProcessingTapRef to do some signal processing on an audio stream.
My issue is that the playback code for my app is in a proprietary, closed-source "black box" player. I don't have access to any AVPlayerItem objects that this software may be using, so all the sample code from Apple where you create an AudioMix object and attach it to an AVPlayerItem is difficult to apply directly.
My questions are:
(1) Is it possible to still use the MTAudioProcessingTapRef framework if all I have is a reference to [AVAudioSession sharedInstance] which is running in AVAudioSessionCategoryPlayback mode?
(2) If it's not possible to use the MTAudioProcessingTapRef framework in this context, can it be done using a more low-level API like AudioUnits? If so, are there pointers to example source code for how to accomplish this?
Thanks,
HK
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden