Re: Audio glitches during playback thru Remote IO unit
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