Re: iLBC Recording Parameters on iPhone
Re: iLBC Recording Parameters on iPhone
- Subject: Re: iLBC Recording Parameters on iPhone
- From: "Eric M. Aldrich I" <email@hidden>
- Date: Wed, 1 Oct 2008 11:29:02 -0700
The sample rate needs to be 8000. The frames per packet is 160.
Eric
On 1 Oct 2008, at 11:11 , Mr. William Mortimore wrote:
I am trying to use the iLBC audio format when recording and playing
voice on the iPhone. Core Audio documentation clearly shows this is
supported on the iPhone, but the documentation is pretty vague for
required parameters for this format. The audio format id is clear -
kAudioFormatiLBC.
Also is is clear that there are no flags.
I can't find anything else in the Apple documentation.
I tried to derive the settings from the rfc 3952 which defines this
and came up with:
audioFormat.mSampleRate = 50.00;
audioFormat.mFormatID = kAudioFormatiLBC;
audioFormat.mFormatFlags = 0;
audioFormat.mFramesPerPacket = 1;
audioFormat.mChannelsPerFrame = 1;
audioFormat.mBitsPerChannel = 0;
audioFormat.mBytesPerPacket = 38;
audioFormat.mBytesPerFrame = 0;
NO dice. Any Clues?
Mr. William Mortimore
S76W13054 Cambridge Ct. W.
Muskego, WI 53150
414-841-6067
Fax:414-425-9155
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
---
Eric M. Aldrich I
Apple Core Audio Engineering
Audio Codecs
_______________________________________________
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