• 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
AudioFileWritePackets data format
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: change audioqueue playback speed
  • Next by Date: Re: AudioQueue Services approximate latency?
  • Previous by thread: Re: change audioqueue playback speed
  • Next by thread: Re: AudioFileWritePackets data format
  • Index(es):
    • Date
    • Thread