Re: REMOTE IO Audio Unit
Re: REMOTE IO Audio Unit
- Subject: Re: REMOTE IO Audio Unit
- From: Daniel Elliott <email@hidden>
- Date: Fri, 3 Oct 2008 14:58:20 +0000 (GMT)
How do we get the remoteIO as an input device?? I would be very grateful to see your code!
----- Original Message ----
From: Inca R <email@hidden>
To: email@hidden
Sent: Friday, 3 October, 2008 3:22:38 PM
Subject: REMOTE IO Audio Unit
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