• 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
FLLR (compression ?) in AIFF file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FLLR (compression ?) in AIFF file


  • Subject: FLLR (compression ?) in AIFF file
  • From: "Francois Baronnet" <email@hidden>
  • Date: Wed, 6 Aug 2008 07:27:49 +0200

Hi,

using some code provided by Apple to record audio
(http://developer.apple.com/documentation/MusicAudio/Conceptual/AudioQueueProgrammingGuide/AQRecord/chapter_3_section_6.html),
I'm able to create AIFF files.
Now I want to read thoses files using some code found on this mailing
list (http://lists.apple.com/archives/coreaudio-api/2003/Feb/msg00244.html).
It doesn't work for me :)

When I open my file using hexadecimal editor, I can see the "FORM",
"AIFF" and "COMM" headers. But I can't find the "NONE" one saying
there is no compression. That's why above objective-C routine can't
work. Instead of "NONE", there is "FLLR". And there is no such header
in AIFF format specification...

If I record my file as AIFC, the begining of the file is different but
still with "FLLR".

Here are my settings for AIFF file:

aqData.mDataFormat.mFormatID = kAudioFormatLinearPCM;
aqData.mDataFormat.mSampleRate = 44100.0;
aqData.mDataFormat.mChannelsPerFrame = 2;
aqData.mDataFormat.mBitsPerChannel = 16;
aqData.mDataFormat.mBytesPerPacket =
aqData.mDataFormat.mBytesPerFrame =
aqData.mDataFormat.mChannelsPerFrame * sizeof (SInt16);

aqData.mDataFormat.mFramesPerPacket = 1;
AudioFileTypeID fileType = kAudioFileAIFFType;

aqData.mDataFormat.mFormatFlags =
	kLinearPCMFormatFlagIsBigEndian
	| kLinearPCMFormatFlagIsSignedInteger
	| kLinearPCMFormatFlagIsPacked;

Thanks for reading me.



--
François Baronnet
 _______________________________________________
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: FLLR (compression ?) in AIFF file
      • From: james mccartney <email@hidden>
    • Re: FLLR (compression ?) in AIFF file
      • From: Stephen Davis <email@hidden>
  • Prev by Date: Re: Network MIDI protocol spec?
  • Next by Date: Re: FLLR (compression ?) in AIFF file
  • Previous by thread: Re: Network MIDI protocol spec?
  • Next by thread: Re: FLLR (compression ?) in AIFF file
  • Index(es):
    • Date
    • Thread