REMOTE IO Audio Unit
REMOTE IO Audio Unit
- Subject: REMOTE IO Audio Unit
- From: "Inca R" <email@hidden>
- Date: Fri, 3 Oct 2008 17:22:38 +0300
Hi;
I manage to write some sample code that uses the remote io audio unit to capture voice samples from the mic.
the problem I have now is that I need to control the size of the data I get in the render callback.
I tried using the audio session service property kAudioSessionProperty_PreferredHardwareIOBufferDuration
I set the property to be 0.02 seconds that in linear PCM 1 channel 16 bit is about 320 bytes but I'm getting
256 bytes. There is any other parameter/property I have to set ?
Also I see that I'm getting errors when trying to set the Audio Unit Format to uLaw.
Do I need to set any Audio Convert code here ? I thought it is enough to set the audioformat.
Thanks
Inca
_______________________________________________
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