Re: 3D Mixer on iPhone
Re: 3D Mixer on iPhone
- Subject: Re: 3D Mixer on iPhone
- From: Bob Lang <email@hidden>
- Date: Fri, 1 Oct 2010 00:56:11 +0100
On 1 Oct 2010, at 00:25, Aran Mulholland wrote:
>
> - only mono inputs...I reckon thats where your dramas lie :)
Interesting. Several years ago I definitely got 3D mixer working (on Mac OS X Tiger) with stereo inputs by following tech note 2112. Indeed, the 3D mixer mode kSpatializationAlgorithm_StereoPassThrough implies stereo input! The other spatialisation modes all seemed to like stereo just fine.
There is a specific comment in TN2112: When setting the stream format of a mixer's bus, remember that the mixer expects to receive stereo data as de-interleaved.
If I recall correctly this simply means setting up separate left and right data buffers for the call back (but I admit I'm a little hazy on the details after all this time)
Of course, TN2112 is very long in the tooth and I don't really know whether it's been superseded - and of course my experience was with OS X, not iPhone.
Cheers
Bob
_______________________________________________
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