CAAudioFile.h and SDK 10.3.9
CAAudioFile.h and SDK 10.3.9
- Subject: CAAudioFile.h and SDK 10.3.9
- From: Roni Music <email@hidden>
- Date: Wed, 1 Nov 2006 09:29:16 +0100
Hi,
Whenever I update Xcode (or actually the CoreAudio SDK) I have to
change the following line (71) in CAAudioFile.h
#ifndef MAC_OS_X_VERSION_10_4
into
#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_4
(see below for example)
The reason is that I build my PPC version with the SDK 10.3.9 headers
and I need to do that to support OS X earlier than 10.3.9.
Should I fill a radar request for a change or am I missing something?
Thanks,
Rolf
//----------------------------
//#ifndef MAC_OS_X_VERSION_10_4
#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_4
// we have pre-Tiger headers; add our own declarations
typedef UInt32 AudioFileTypeID;
enum {
kExtAudioFileError_InvalidProperty = -66561,
kExtAudioFileError_InvalidPropertySize = -66562,
kExtAudioFileError_NonPCMClientFormat = -66563,
kExtAudioFileError_InvalidChannelMap = -66564, // number of
channels doesn't match format
kExtAudioFileError_InvalidOperationOrder = -66565,
kExtAudioFileError_InvalidDataFormat = -66566,
kExtAudioFileError_MaxPacketSizeUnknown = -66567,
kExtAudioFileError_InvalidSeek = -66568, // writing, or offset
out of bounds
kExtAudioFileError_AsyncWriteTooLarge = -66569,
kExtAudioFileError_AsyncWriteBufferOverflow = -66570 // an async
write could not be completed in time
};
#else
#if !defined(__COREAUDIO_USE_FLAT_INCLUDES__)
#include <AudioToolbox/ExtendedAudioFile.h>
#else
#include "ExtendedAudioFile.h"
#endif
#endif
_______________________________________________
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