• 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: Audio glitches during playback thru Remote IO unit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Audio glitches during playback thru Remote IO unit


  • Subject: Re: Audio glitches during playback thru Remote IO unit
  • From: "Zhiye (Sterling) Li" <email@hidden>
  • Date: Thu, 13 Aug 2009 16:39:24 -0500

Hello Steph,

Yes, I've tried both. They all make the audio playback "glitch" and seem have no much difference. I am actually very curious how the AudioFileReadPackets and ExtAudioFileRead work. Do they make threads by themselves while reading from files?  So many mysteries...

zhiye

On Thu, Aug 13, 2009 at 4:42 AM, steph ohara <email@hidden> wrote:
using ExtAudioFileRead, it says in the docs
"Fewer frames may be read than were requested." :)
Have you tried using AudioFileReadPackets?
it seems to have better control, cache option and void* to your buffer. it also returns frames read (possible less than requested) but the docs don't mention this possibility. i suspect this is a "lower-level" call thus a bit faster for feeding a hungry callback.
i use it to load whole samples in (non-realtime) so i can't really say. could be wrong and would love to know if it is an improvement
cheers
steph
 


 _______________________________________________
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 sterling.li@gmail.com

 _______________________________________________
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

References: 
 >Re: Audio glitches during playback thru Remote IO unit (From: steph ohara <email@hidden>)

  • Prev by Date: Re: Audio glitches during playback thru Remote IO unit (iPhone)
  • Next by Date: Re: Audio glitches during playback thru Remote IO unit (iPhone)
  • Previous by thread: Re: Audio glitches during playback thru Remote IO unit
  • Next by thread: kAudioStreamPropertyTerminalType return values
  • Index(es):
    • Date
    • Thread