Re: MIDI access from sandbox on Lion
Re: MIDI access from sandbox on Lion
- Subject: Re: MIDI access from sandbox on Lion
- From: Simone Tellini <email@hidden>
- Date: Wed, 12 Mar 2014 08:35:42 +0100
Il giorno 12/mar/2014, alle ore 05:29, Hamish Moffatt <email@hidden> ha scritto:
> On 12/03/14 12:06, Hamish Moffatt wrote:
>> Hi,
>>
>> We've got an app that uses MIDI which we're now running in a sandbox for sale on the Mac App Store. We use either QuickTime (OpenDefaultComponent(kNoteAllocatorComponentType...)), or DLS Synth (via AUGraph etc).
>>
>> I notice that neither of these work in the sandbox on Lion, but they do work in Mavericks.
>>
>> I'm not using any special sandbox permissions, but a bit of Googling suggests some temporary exceptions are required for MIDI to work.
>
> Nope, that didn't help either. Here's my entitlements file now, as dumped from codesign. Am I missing something?
for DLS Synth you need com.apple.security.temporary-exception.audio-unit-host (see https://developer.apple.com/library/mac/technotes/tn2247/_index.html)
With that, the first time your app uses DLS Synth, the user will be shown a warning that the audio unit is not sandbox safe, but at least it'll work.
--
Simone Tellini
http://tellini.info
_______________________________________________
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