Re: Is kAudioUnitSubType_DLSSynth compatible with the Mac OS X App sandbox
Re: Is kAudioUnitSubType_DLSSynth compatible with the Mac OS X App sandbox
- Subject: Re: Is kAudioUnitSubType_DLSSynth compatible with the Mac OS X App sandbox
- From: Christopher Liscio <email@hidden>
- Date: Thu, 16 May 2013 15:59:01 -0400
Ross,
On May 13, 2013, at 1:34 AM, Ross Bencina <email@hidden> wrote:
> Q: Is Apple's DLS Synth Audio Unit (kAudioUnitSubType_DLSSynth) compatible with the Mac OS X sandbox? (on OS X 10.7, 10.8 and later).
>
> The only way I have been able to get it to work is by adding the following entitlement:
>
> com.apple.security.temporary-exception.audio-unit-host
>
> This entitlement causes an unpleasant security message to be displayed to the user [0].
Yes, the DLS synth unit does work, but it appears we are stuck with that message.
(The alternative would be that the DLS synth is non-functional, and there would be no entitlement to work with at all. We'll have to take what we can get for now…)
> Q: Is there a way to use DLS Synth without the unpleasant security message?
As far as I can tell, there's no getting around this until the DLS Synth is sandboxed itself. Feel free to duplicate rdar://13086250 which I filed for the same reason.
> Q: Does anyone know whether the App Store will publish apps with com.apple.security.temporary-exception.audio-unit-host set?
If they didn't, then nobody would be able to host audio units. I'm pretty sure Apple's been poking these sandbox holes specifically so apps could get onto the App Store… That said, IANAASR (I Am Not An App Store Reviewer.)
> I have not found direct confirmation to these questions anywhere, although there is a similar unanswered question on Stack Overflow [1]. Similar questions have been asked (and not answered) regarding kAudioUnitSubType_AudioFilePlayer [2,3,4].
>
> It would be most excellent to get a definitive answer from Apple. But failing that I'd be happy to hear from anyone who has had the same issue.
I have been fighting this issue for a while now, and it can prove to be a user experience headache. I've had to resort to keeping my DLS Synth disabled only until the user explicitly asks for it to be enabled. The downsides are that A: the user must be informed that the synth needs to be enabled, and B: the message is pretty scary and doesn't allow us to customize it.
The good news is that it only seems to appear once for a given build of the application. Unfortunately, during development it will continually pop up on each launch.
Hope this helps,
Chris Liscio
http://supermegaultragroovy.com
Learn _your_ music with Capo: http://capoapp.com
_______________________________________________
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