Minimum frames per slice?
Minimum frames per slice?
- Subject: Minimum frames per slice?
- From: Guy Shaviv <email@hidden>
- Date: Fri, 10 Sep 2010 11:57:47 +0300
Hi,
I have an audio app that uses audio units (an audio graph). On all devices I've tested t on, I get the expected 1024 frames per slice. For some odd reason when running on an iPod 2G w OS 4.0 I get 128 frames per slice. This is way too short. The audio plays fine as long as there is no UI going on, as soon as I touch the screen the UI thread seems to take enough cpu time to cause the audio to break up >I'm sure this is due to the very low frames per slice. Is there a way to control it so that the graph always processes at least 1024 frames per slices?
I am asking in the audio session for a preferred buffer duration, but that doesn't seem to be respected.
[session setPreferredIOBufferDuration:23e-6 error:nil];
Requesting longer buffer durations doesn't help either. |
_______________________________________________
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