Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Writing little-endian AIFF/AIFC files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Writing little-endian AIFF/AIFC files



I have been trying to write little-endian AIFF/AIFC files, so far without success.

The documentation on the subject seems to be sparse and I couldn't find any sample code. What I did find is:

General info
<http://en.wikipedia.org/wiki/Aiff> which mentions the 'sowt' semi-compressor

CoreAudio
<http://developer.apple.com/DOCUMENTATION/MusicAudio/Conceptual/CoreAudioOverview/SupportedAudioConverterFormats/SupportedAudioConverterFormats.html>


which seems to imply that CoreAudio doesn't support little-endian AIFF/AIFC data nor the 'sowt' semi-compressor

QuickTime
<http://developer.apple.com/documentation/QuickTime/QTFF/QTFFChap3/qtff3.html> which suggests that QuickTime does
support the 'sowt' semi-compressor
<http://developer.apple.com/DOCUMENTATION/QuickTime/Conceptual/QT7UpdateGuide/Chapter03/03QT7_Update_Guide.html> which
describes the kQTSCAudioPropertyID_ClientRestrictedPCMFlags constant.

QuickTime Player
The "Show Movie Inspector" of the QuickTime Player indicates if an AIFF/AIFC file (or at least its content data) is
little-endian or big-endian. This also shows that the system software may choose to write little-endian rather than
big-endian AIFF/AIFC files.

First, I tried to wite little-endian AIFC/AIFF files with CoreAudio. Whatever I do, I get a "fmt?" error. Then, I tried
QuickTime and had no success with either StandardCompressionSubTypeSound or StandardCompressionSubTypeAudio.

So, my questions are:

1. Why and under which circumstances does the system software choose to write little-endian AIFF/AIFC files ?
2. How do application programmers write little-endian AIFF/AIFC files ?
3. Did I miss something or where is this documented ?

SIncerely,

Adriaan van Os
www.microbizz.nl

_______________________________________________
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




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.