07-05-2009, 09:00 AM
|
#2 (permalink)
|
|
New Member
Join Date: Jul 2009
Posts: 4
|
Any one an help me? Thank you!
Quote:
Originally Posted by liangsai
I use AudioUnit to play sound stream, but the renderCallback just use 1024 bytes buffer, and I need 8 * 1024, how to change the buffer size, anyone can help me? Thaks a lot!
I open stream playback like this:
AudioUnitSetProperty (
io_unit_instance, // 5
kAudioUnitProperty_SetRenderCallback, // 6
kAudioUnitScope_Input, // 7
outputBus, // 8
&renderCallbackStruct, // 9
sizeof (renderCallbackStruct) // 10
);
|
Any one an help me? Thank you!
|
|
|