• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: iPhone sample format : can float be supported directly?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iPhone sample format : can float be supported directly?


  • Subject: Re: iPhone sample format : can float be supported directly?
  • From: William Stewart <email@hidden>
  • Date: Fri, 19 Feb 2010 10:28:34 -0800

we don't support floating point sample formats on current versions of the iphone.

you want either 8.24 fixed or 16 bit integer

On Feb 19, 2010, at 8:27 AM, Stéphane Letz wrote:

Hi,

We are trying to port CoreAudio code (that was developed on OSX) on the iPhone. Basically we were using AUHal Unit to develop a duplex module and using :

AudioUnitSetProperty(fAUHAL, kAudioUnitProperty_StreamFormat, ....)

kind of code to set up the desired format for our stream, so in our case "non interleaved float samples".

When porting the code on the iPhone, using "kAudioUnitSubType_RemoteIO" instead of "kAudioUnitSubType_HALOutput", then :

AudioUnitSetProperty(fAUHAL, kAudioUnitProperty_StreamFormat, ....) when wanting a float format (srcFormat.mFormatFlags = kAudioFormatFlagsNativeFloatPacked | kLinearPCMFormatFlagIsNonInterleaved;) now fails with a kAudioUnitErr_FormatNotSupported error.

Is there any kind of restriction on what can be done on the iPhone ? (but the page http://developer.apple.com/iphone/library/documentation/MusicAudio/Reference/AudioConverterServicesReference/Reference/reference.html seems to say that AudioConverter are available on the iPhone..)

Thanks

Stéphane Letz

_______________________________________________
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
References: 
 >iPhone sample format : can float be supported directly? (From: Stéphane Letz <email@hidden>)

  • Prev by Date: Re: Need to hire a software developer for a voice processing app!
  • Next by Date: Re: Outputting multichannel sound through the optical link??
  • Previous by thread: iPhone sample format : can float be supported directly?
  • Next by thread: RemoteIO sound over AudioQueue vs over iPod player: clipping
  • Index(es):
    • Date
    • Thread