AudioFile -> AudioConverter -> float PCM
AudioFile -> AudioConverter -> float PCM
- Subject: AudioFile -> AudioConverter -> float PCM
- From: Marc Poirier <email@hidden>
- Date: Mon, 1 Aug 2005 14:10:09 -0400 (EDT)
I am trying to do the following: I want to use AudioFile to get the
contents of an audio file, then use AudioConverter to put it all into
arrays of PCM 32-bit float audio data (1 array per audio channel). But,
after several hours of looking through example snippets, headers, and
docs, I'm still pretty lost. I'm just having a lot of trouble figuring
out the interactions of AudioBufferLists and AudioConverters, what are
packets vs. frames (possibly in relation to channels vs. samples), etc.
Anyway, I'm sure that I'm not the only one who has wanted to do this task,
so I was wondering if anyone might have some example code for this that
they'd like to share? I'm just having a lot of difficulty understanding
this stuff...
thanks,
Marc
_______________________________________________
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