Re: REMOTE IO Audio Unit
Re: REMOTE IO Audio Unit
- Subject: Re: REMOTE IO Audio Unit
- From: Richard D <email@hidden>
- Date: Fri, 03 Oct 2008 16:06:47 +0100
I wish someone could figure out my creating a working AudioConverter
for mp3 issue, but heres the code for get the RemoteIO
desc.componentType = kAudioUnitType_Output;
desc.componentSubType = kAudioUnitSubType_RemoteIO;
desc.componentManufacturer = kAudioUnitManufacturer_Apple;
On 3 Oct 2008, at 16:04, Daniel Elliott wrote:
Oh and iphone audiounits use 8.24 fixed point data format for
processing. They don;t pass compressed data to each other. If you
want to write that data to somewhere else you have to you the
audiounit render function in your callback and copy the data
somewhere else for compression somewhere else. or you could use the
audio converter or extaudiofile(which has a built in audio converter
object) in the render callback along with audiounitrender().
----- Original Message ----
From: Daniel Elliott <email@hidden>
To: Inca R <email@hidden>; email@hidden
Sent: Friday, 3 October, 2008 3:58:20 PM
Subject: Re: REMOTE IO Audio Unit
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
_______________________________________________
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