Setting the buffer size when using the Default Output AudioUnit
Setting the buffer size when using the Default Output AudioUnit
- Subject: Setting the buffer size when using the Default Output AudioUnit
- From: Lionel Woog <email@hidden>
- Date: Tue, 18 Feb 2003 11:36:37 -0500
Hi,
What can I do to change the number of frames requested by the rendering
callback of the default output unit to be 4096 instead of 512.
At 512, my audio will not play smoothly, as I decompress data in 8192 frames
increments and this requires more CPU than can be done in 512/44100th of a
second.
I can get smooth playback by directly hooking up a rendered to the hardware
audio device (and setting the buffer size appropriately), but doing so
prevents me from having more than one player going at a time.
Thanks for any help,
Lionel
--
Lionel Woog, Ph.D.
CTO
Adapted Wave Technologies, Inc.
email: email@hidden
phone: 212-645-0670
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.