Re: RemoteIO AU callback interval can not be changed?
Re: RemoteIO AU callback interval can not be changed?
- Subject: Re: RemoteIO AU callback interval can not be changed?
- From: email@hidden
- Date: Wed, 11 Aug 2010 08:35:19 -0700 (PDT)
Tried as following, along with setting
kAudioSessionProperty_PreferredHardwareIOBufferDuration to 20ms, on iPhone, the
callback I got is always 186 frames or 185 frames (~23ms). Not exactly 160,
which I hoped for. It's better than on simulator though.
UInt32 maximumFramesPerSlice = 160;
AudioUnitSetProperty (
audioUnit,
kAudioUnitProperty_MaximumFramesPerSlice,
kAudioUnitScope_Global,
0, // global scope always uses element 0
&maximumFramesPerSlice,
sizeof (maximumFramesPerSlice)
);
AudioUnitInitialize(audioUnit);
On Wed, Aug 11, 2010 at 1:47 AM, AI Developer <email@hidden>
wrote:
The AUHAL supports kAudioUnitProperty_MaximumFramesPerSlice (on Scope Output of
input bus) - perhaps RemoteIO AU also supports something like that?
>
>Thanks.
>Devendra.
>
>
_______________________________________________
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