AudioFileWritePackets data format
AudioFileWritePackets data format
- Subject: AudioFileWritePackets data format
- From: Stephen Blinkhorn <email@hidden>
- Date: Fri, 5 Nov 2010 17:08:24 -0600
Hi,
I have a sound buffer in memory that I want to export as an audio
file. The sound buffer contains raw 64 bit floating point data and
I'd like to export that as a 24 bit AIFF.
Is it possible to use AudioFileWritePackets directly (specifying an
AudioStreamPacketDescription) on the 64 bit float data to write to the
AudioFile or must I convert the data to 24 bit first?
I'm thinking I can use AudioFileWritePackets to write any data to a
file as long as it knows the source data format and the destination
data format and it will automatically convert? Is that correct? I'm
getting white noise in the exported files!
Thanks,
Stephen
_______________________________________________
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