• 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
iPhone sample format : can float be supported directly?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iPhone sample format : can float be supported directly?


  • Subject: iPhone sample format : can float be supported directly?
  • From: Stéphane Letz <email@hidden>
  • Date: Fri, 19 Feb 2010 17:27:25 +0100

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

  • Follow-Ups:
    • Re: iPhone sample format : can float be supported directly?
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: Need to hire a software developer for a voice processing app!
  • Next by Date: Fwd: Re: Outputting multichannel sound through the optical link??
  • Previous by thread: Re: Need to hire a software developer for a voice processing app!
  • Next by thread: Re: iPhone sample format : can float be supported directly?
  • Index(es):
    • Date
    • Thread