• 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
Does the AudioConverter on the iPhone not support float ? BUG ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Does the AudioConverter on the iPhone not support float ? BUG ?


  • Subject: Does the AudioConverter on the iPhone not support float ? BUG ?
  • From: Mark's Studio <email@hidden>
  • Date: Wed, 22 Apr 2009 00:16:17 +0200

I am trying to get the ExtAudioFileRead() to return floating point from a IMA4 file,
but when i setup the stream as below and try to set the client format i get a fmt? error,


Does the audioconverter on the iPhone not support float ?
I remember having the same problem trying to get the AUremoteIO to return float.



CAStreamBasicDescription floatAudioFormat; floatAudioFormat.mSampleRate = 44100.00; floatAudioFormat.mFormatID = kAudioFormatLinearPCM; floatAudioFormat.mFormatFlags = kAudioFormatFlagsNativeFloatPacked; floatAudioFormat.mFramesPerPacket = 1; floatAudioFormat.mChannelsPerFrame = 1; floatAudioFormat.mBitsPerChannel = 32; floatAudioFormat.mBytesPerPacket = 4; floatAudioFormat.mBytesPerFrame = 4;

If i set the floatAudioFormat.SetCanonical(1,false); it works






Peter Mark

Mark's Recording Studio A/S
Lundeskovsvej 3
2900 Hellerup
Denmark
Tel: +45 35366078
Fax: +45 35366038
Mobile: +45 20416018
www.marks-studio.dk
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


  • Follow-Ups:
    • Re: Does the AudioConverter on the iPhone not support float ? BUG ?
      • From: Doug Wyatt <email@hidden>
  • Prev by Date: Make a chirp signal with CoreAudio
  • Next by Date: Re: Make a chirp signal with CoreAudio
  • Previous by thread: Re: Make a chirp signal with CoreAudio
  • Next by thread: Re: Does the AudioConverter on the iPhone not support float ? BUG ?
  • Index(es):
    • Date
    • Thread