• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: RemoteIO AU callback interval can not be changed?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: RemoteIO AU callback interval can not be changed?
      • From: Gregory Wieber <email@hidden>
  • Prev by Date: iPhone, iPad sampling rates
  • Next by Date: Re: AudioQueueOfflineRender on the iPad
  • Previous by thread: Re: RemoteIO AU callback interval can not be changed?
  • Next by thread: Re: RemoteIO AU callback interval can not be changed?
  • Index(es):
    • Date
    • Thread