• 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: (semi-OT) hosting plugins that use PACE copy protection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (semi-OT) hosting plugins that use PACE copy protection


  • Subject: Re: (semi-OT) hosting plugins that use PACE copy protection
  • From: "Ross Bencina" <email@hidden>
  • Date: Fri, 16 Jul 2010 15:24:27 +1000

Thanks Michael
 
That does help, but actually I currently have no special handling for kAudioUnitErr_Unauthorized, if I got that result I would just fail and close the AU.
 
As far as I can tell, the PACE protected AU is popping up its own window and running a modal event loop.
 
I will check where in the call sequence this is happening and get back...
 
Thanks
 
Ross.
 
 
 
 
----- Original Message -----
From: Michael Hopkins
To: Ross Bencina
Cc: email@hidden
Sent: Friday, July 16, 2010 6:36 AM
Subject: Re: (semi-OT) hosting plugins that use PACE copy protection

Ross,

Copy-protected plugins return kAudioUnitErr_Unauthorized on either open or Initialize. AULab can only handle audio units that throw this error on initialize. When it encounters an audio unit that returns this error, it presents the user with a dialog asking if they would like to authorize the audio unit.

The authorization window is created on the UI Thread. Not the main thread. The authorization window is created set to the key window and brought to the front. The Carbon or Cocoa Custom UI is embedded in that window. Once the window is closed, AULab goes on its merry way.

Perhaps your issue is either that you are creating a modal window.

AULAuthorizationWindow *uiWindow = [[AULAuthorizationWindow alloc] initWithAudioUnit: unit modal: NO];


// show the window
if (uiWindow) {
   [uiWindow makeKeyAndOrderFront: self]; // window will be released when closed
}

Hope this helps!

-michael

On Jul 14, 2010, at 4:16 AM, Ross Bencina wrote:

Hi Everyone

I have a problem with my AU hosting: any plugins which uses PACE copy protection (paceap.com) display an iLok or PACE dialog when I instantiate them and then hang with all of the buttons on the PACE dialog disabled. I have only tested this with demo versions but my users are reporting similar problems with their licenced versions. If I try to use gdb naturally PACE exits immediatly. I see similar issues with VST and AU plugins.

I am guessing that I'm doing something with my event processing (which is going to be fun, since I'm using the Qt framework) but I wonder whether anyone has encountered this before and has any ideas how I might solve it. Or whether PACE provides developer support to plugin hosts for this kind of thing (thier dev. website seems to require you to buy a licence to enter).

Any and all thoughts and help appreciated.

Many thanks

Ross.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

 _______________________________________________
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

  • Follow-Ups:
    • Re: (semi-OT) hosting plugins that use PACE copy protection [resolved]
      • From: "Ross Bencina" <email@hidden>
References: 
 >(semi-OT) hosting plugins that use PACE copy protection (From: "Ross Bencina" <email@hidden>)
 >Re: (semi-OT) hosting plugins that use PACE copy protection (From: Michael Hopkins <email@hidden>)

  • Prev by Date: Mic hardware flaw on iPhone 4?
  • Next by Date: Re: Mic hardware flaw on iPhone 4?
  • Previous by thread: Re: (semi-OT) hosting plugins that use PACE copy protection
  • Next by thread: Re: (semi-OT) hosting plugins that use PACE copy protection [resolved]
  • Index(es):
    • Date
    • Thread