• 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
Converting to the canonical audio unit format
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Converting to the canonical audio unit format


  • Subject: Converting to the canonical audio unit format
  • From: Tim Murison <email@hidden>
  • Date: Wed, 14 May 2014 12:18:39 -0400

Hi,

I’m building an AudioUnit based application and find myself wanting to convert from my internal format of interleaved 32-bit floats to the AudioUnit canonical format of 32-bit 8.24 non-interleaved integers.

I’ve tried setting up an AudioConverter to do this, but AudioConverterNew returns “fmt?”. The documentation doesn’t mention the 8.24 format as being supported, but I was expecting it to work since that’s what AudioUnits use. Also I’ve had trouble getting ExtAudioFile to spit out non-interleaved samples which makes me wonder if it is the non-interleaved part that is causing AudioConverter problems and not the 8.24 format.

Is there an accepted way of doing this kind of conversion, or should I roll a custom converter?

Thanks,

-Tim
 _______________________________________________
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: Converting to the canonical audio unit format
      • From: Paul Davis <email@hidden>
  • Prev by Date: Re: Buffer overrun management with TPCircularBuffer.. best way to do so?
  • Next by Date: Re: Buffer overrun management with TPCircularBuffer.. best way to do so?
  • Previous by thread: Re: Resources to learn more about the difference between packed and unpacked (high/low aligned) samples?
  • Next by thread: Re: Converting to the canonical audio unit format
  • Index(es):
    • Date
    • Thread