Re: REMOTE IO Audio Unit
Re: REMOTE IO Audio Unit
- Subject: Re: REMOTE IO Audio Unit
- From: "tahome izwah" <email@hidden>
- Date: Fri, 3 Oct 2008 16:50:17 +0200
I don't believe that there is a way to reliably control the buffer
sizes. Ultimately you have to deal with the sizes that you get, ie.
queue them up.
--th
2008/10/3 Inca R <email@hidden>:
> 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