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 10:07:54 +0100
Hi Paul
On OS X, the 3D mixer resampler worked pretty well for me. I really don't think I could have cooked up a more *efficient* resampler myself.
Although linear resampling does (in theory) introduce some extra noise and distortion, in practice I didn't find this a problem. If you're using the iPhone then I wouldn't worry about it unless the customers start complaining.
Bob
--
On 1 Oct 2010, at 06:02, Paul Slocum wrote:
> Thanks for the additional info.
>
> While we're talking about it, I want at the 3D mixer to use the linear
> resampler, assuming that their resampler is well-optimized. But it
> would really be more efficient if I just had that resampling CODE.
> Does anyone have Apple's resampler code? or some cheap Arm-optimized
> resampling code?
>
> -paul
>
> On Thu, Sep 30, 2010 at 7:56 PM, Bob Lang <email@hidden> wrote:
>>
>> 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
>>
_______________________________________________
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