• 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: Sandboxing with Core Audio
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sandboxing with Core Audio


  • Subject: Re: Sandboxing with Core Audio
  • From: Ploytec <email@hidden>
  • Date: Thu, 05 Dec 2013 10:41:35 +0100

HI Christian

The Tascam driver uses the HAL plugin design. In this design, the audio driver is a plugin that loads into the apps's process. As sandboxed apps can't access the hardware, the app can't access the device.
That's the reason why the new AudioServer API is now the preferred audio driver design (its loaded into the sole coreaudiod process).
The audio drivers using the old kernel core audio driver design don't have his problem.
A new driver will be released soon.


Best regards
Eric
Le 5 déc. 2013 à 00:20, Christian Floisand <email@hidden> a écrit :

Hello, 

I am finishing up an app for OS X that needs to connect to the user's default audio output device set in System Preferences (among other things, 
the app will play a sine tone for a selected frequency).  

Everything works fine when Sandboxing is not enabled, but when it is, connecting to an external USB audio interface seems to fail when I 
test it on my computer.  These are the two violations I'm getting: 

kernel: Sandbox: sandboxd: deny mach-lookup com.apple.coresymbolicationd
sandboxd: deny iokit-open AudioUserClientTascamUSBMKII (this is my USB interface)

I have set the following entitlements:
com.apple.security.device.usb -- true
com.apple.security.temporary-exception.audio-unit-host -- true
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: Sandboxing with Core Audio
      • From: Christian Floisand <email@hidden>
  • Prev by Date: Re: iOS: Interruption listener is not called when pausing music from music app.
  • Next by Date: Re: iOS: Interruption listener is not called when pausing music from music app.
  • Previous by thread: Re: Interruption listener is not called when pausing music from music app.
  • Next by thread: Re: Sandboxing with Core Audio
  • Index(es):
    • Date
    • Thread