Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 07-05-2009, 08:00 AM   #2 (permalink)
liangsai
New Member
 
Join Date: Jul 2009
Posts: 4
Default Any one an help me? Thank you!

Quote:
Originally Posted by liangsai View Post
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!
liangsai is offline   Reply With Quote
 
Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,267
Threads: 39,062
Posts: 171,292
Top Poster: smasher (2,575)
Welcome to our newest member, nvrendingsoft
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 08:53 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.