Re: cross development
Re: cross development
- Subject: Re: cross development
- From: William Stewart <email@hidden>
- Date: Mon, 27 Jun 2005 10:43:56 -0700
On 26/06/2005, at 4:23 AM, Os wrote:
Hi,
I'm interested to know what people think of the value of cross
development (for earlier Mac OS's).
Under Panther I had always built my audio units against the 10.2.8
SDK. However I've just got Tiger/XCode2.1/the latest AU SDK etc.
and now I'm having problems building against either 10.3.9 or
10.2.8, in both cases because the AU SDK is using new features of
the OS.
I think these are new header dependencies (structs/properties) in
AudioUnitProperties.h... As these are declared in the headers there
is no problem taking that back to earlier OS releases.
So I guess the answer might be to retrieve and use an older AU SDK.
It's all getting to be a bit of a bother though. So my question is
- is it worth it? Has anyone ever heard from a user that their plug-
in doesn't run on an older OS than the one it was developed for?
Should not be a problem. We build our release for both Panther and
Tiger (as we take some of our work back to Panther with QuickTime)
and this works fine.
As a more general point, I'd like to hear what the Apple guys'
policy is as regards developing the AU SDK in such a way that it
can be used with older OS's.
The AU base classes will not introduce run-time dependencies on new
OS releases unless we explicitly call that out (and provide some
documented alternative).
For the record these are the problems I've found so far:
When building for 10.3.9, I get
- "MusicDeviceMIDIEventProc undeclared" which seems to be due to a
change in AudioUnit/MusicDevice.h.
Right - this is exporting the MIDI Event proc so that a host app can
call this AU API more efficiently - see CAAudioUnit.h/.cpp - if this
isn't implemented there is a safe fallback.
- "kAudioFormatAppleLossless undeclared" and similar for
kAppleLosslessFormatFlag_16BitSourceData etc.
I don't know why this is a problem building the AU SDK? (By AU SDK I
mean the set of classes that are used to build an AU)
When building for 10.2.8, I get
- "kControlStaticTextIsMultilineTag undeclared" from the carbonview
part of the SDK
That one is probably something we should fix.
Bill
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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