• 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: Getting the PreferedHardwareIOBufferDuration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting the PreferedHardwareIOBufferDuration


  • Subject: Re: Getting the PreferedHardwareIOBufferDuration
  • From: Greg Chapman <email@hidden>
  • Date: Wed, 25 Feb 2009 10:30:03 -0800

On Feb 25, 2009, at 4:08 AM, Mark's Studio wrote:

I set kAudioSessionProperty_PreferedHardwareIOBufferDuration to 0.005
and kAudioSessionProperty_CurrentHardwareIOBufferDuration returns 0.005805,
so that is fine


But if the iPod app is started the buffer duration change to 0.023220
and when restarting my audio (i do this by starting an AVAudioPlayer,so the iPod fades out) the buffer duration stay there,
if i trigger another restart by removing the headset it goes back
to the prefered duration.

This seems like a bug... if you have interrupted the iPod app, you should get all your hardware settings back (unless something else weird is going on, like a phone call or something).


Can you write a bug please? If possible, include source code we can build to reproduce the problem.

Is there anyway i can make sure i get the prefered duration ?

To try to work around the bug, you could try calling AudioSessionSetActive(true) again before restarting; that might get us to do the right thing. (I'm just guessing, though... I don't know yet what the bug is.)


Greg
_______________________________________________
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: Getting the PreferedHardwareIOBufferDuration
      • From: Mark's Studio <email@hidden>
    • Re: Getting the PreferedHardwareIOBufferDuration
      • From: Mark's Studio <email@hidden>
References: 
 >Getting the PreferedHardwareIOBufferDuration (From: Mark's Studio <email@hidden>)

  • Prev by Date: multiple audio channels represented in a single track
  • Next by Date: Re: multiple audio channels represented in a single track
  • Previous by thread: Getting the PreferedHardwareIOBufferDuration
  • Next by thread: Re: Getting the PreferedHardwareIOBufferDuration
  • Index(es):
    • Date
    • Thread