Converting to the canonical audio unit format
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