Re: Need to access/manipulate mixed output: MultiChannelMixer + AudioConverter, or mix manually?
Re: Need to access/manipulate mixed output: MultiChannelMixer + AudioConverter, or mix manually?
- Subject: Re: Need to access/manipulate mixed output: MultiChannelMixer + AudioConverter, or mix manually?
- From: Michael Tyson <email@hidden>
- Date: Thu, 16 Feb 2012 11:45:54 +0100
Just to follow up, this is working beautifully. Basically, I attempt to set the desired ASBD on the mixer output, then if it reports that it can't, I create an AudioConverter from the mixer's output format to the target format. Then, depending on whether I need to actually manipulate the output audio, or just monitor it, I hook up a render callback (in which I render the mixer and convert its output), or a render notification callback (in which I just convert the rendered audio), respectively.
On 15 Feb 2012, at 10:03, Michael Tyson wrote: I think in favour of a tractable implementation, I might go with #1; I dread the idea of trying to manually mix arbitrary audio stream formats. Feels a little bit wacky, but I guess that's Core Audio.
|
_______________________________________________
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