• 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
Re: Leopard xcode 3, and audio-unit compile error.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Leopard xcode 3, and audio-unit compile error.


  • Subject: Re: Leopard xcode 3, and audio-unit compile error.
  • From: William Stewart <email@hidden>
  • Date: Mon, 12 Nov 2007 17:45:48 -0800

To get backward compatibility for AUs we are recommended that you leave the SDK as is, but you make the deployment target 10.4

There are some additional notes in the SDK read me about this

Bill

On Nov 12, 2007, at 2:28 PM, Dave Hoskins wrote:

Hi guys, I've just installed the Leopard OS, and updated to xcode 3.0.
Bringing up my audio unit xcode 2.4 project, and compiling for '10.4' it
gives the following weird error:-


*ERROR
/Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp: 1307:
error: 'kAudioUnitRenderAction_PostRenderError' was not declared in this
scope



Everything seems to compile fine in 10.5, but I need backward compatibility.


It's in AUBase.cpp, with the my ###### comments below.

flags = ioActionFlags | kAudioUnitRenderAction_PostRender; // ####### NO
error here
if (SetRenderError (theError))
{
flags |= kAudioUnitRenderAction_PostRenderError; //###### doesn't
know this define.
}


In AUComponent.h they are both 'kAudioUnitRenderAction_PostRender' and
'kAudioUnitRenderAction_PostRenderError' are defined in the same enum!...
enum
{
kAudioUnitRenderAction_PreRender = (1 << 2),
kAudioUnitRenderAction_PostRender = (1 << 3),
kAudioUnitRenderAction_OutputIsSilence = (1 << 4),
kAudioOfflineUnitRenderAction_Preflight = (1 << 5),
kAudioOfflineUnitRenderAction_Render = (1 << 6),
kAudioOfflineUnitRenderAction_Complete = (1 << 7),
kAudioUnitRenderAction_PostRenderError = (1 << 8) // #####
Strangely this define is in black where the others are blue, the same can be
said for some other enums in the file.
};


I have installed all the optionals from the Leopard disc, can someone tell
me what's happening here? I'm guessing it's part of the 'scope' but I don't
know what this means in the project context.


Thanks

Dave Hoskins








_______________________________________________ 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

_______________________________________________ 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
References: 
 >Leopard xcode 3, and audio-unit compile error. (From: "Dave Hoskins" <email@hidden>)

  • Prev by Date: Re: kAudioUnitProperty_PresentationLatency supported in LogicPro 7.2 and/or 8?
  • Next by Date: Re: renderprocs - some simple questions
  • Previous by thread: Re: Leopard xcode 3, and audio-unit compile error.
  • Next by thread: Pre-initialising AudioConverter codec decoder
  • Index(es):
    • Date
    • Thread