Unable to build afplay (Xcode 1.5) on Panther - errors in header file!
Unable to build afplay (Xcode 1.5) on Panther - errors in header file!
- Subject: Unable to build afplay (Xcode 1.5) on Panther - errors in header file!
- From: Richard Dobson <email@hidden>
- Date: Tue, 23 Nov 2004 03:26:09 +0000
This is on a Panther iMac, as updated as "Software update" can manage: Xcode 1.5
+ the requisite Quicktime update.
I have tried to build an unmodified afplay, and hit the following problems, all
in CAAudioFile.h:
the symbols kAudioUnitType_Generator and kAudioConverterPropertySettings are
undefined. I cannot find any definition of them on the machine.
the line:
#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_4
fails as MAC_OS_X_VERSION_10_4 is not defined.
After changing this to:
#if MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_3
the compiler detects what is an obvious elementary syntax error involving a
misplaced comma:
enum {
kExtAudioFileError_InvalidProperty = -66561,
kExtAudioFileError_InvalidPropertySize = -66562,
kExtAudioFileError_NonPCMClientFormat = -66563,
>>>> kExtAudioFileError_InvalidChannelMap, = -66564
kExtAudioFileError_InvalidOperationOrder = -66565,
kExtAudioFileError_InvalidDataFormat = -66566,
kExtAudioFileError_MaxPacketSizeUnknown = -66567
Somewhere, the testing process seems to have got bypassed! The typo is easy, but
I cannot get past the missing definitions.
So, assuming Xcode 1.5 is actually meant to be used on Panther, is there a fix
for this, or am I destined to have to figure out a player program from first
principles? All I need, urgently, is a program I can adapt to add B-Format
conversion.
Richard Dobson
_______________________________________________
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