• 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: AudioServerPlugin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioServerPlugin


  • Subject: Re: AudioServerPlugin
  • From: Robert Bielik <email@hidden>
  • Date: Wed, 25 Nov 2015 08:58:20 +0100

No, the AudioServerPlugin will expose a CoreAudio AudioDevice as usual, to which all "clients" connect/play as usual, then my application (also in the same "App Group") will pipe data from the plugin through shared memory, process it, and then output to a target audio device.

Regards
/R

Den 2015-11-25 kl. 08:54, skrev Stéphane Letz:
But then all applications using your plugin would have to be part of the same "App Group" right ? How do you assume that?

Regards,

Stéphane Letz


Le 25 nov. 2015 à 08:36, Robert Bielik <email@hidden> a écrit :

Thanks all,

Seems to go this route, you need to setup an "App Group" which contains both the plugin and the controller app. Then it should be possible to use semaphores, unix sockets and shared memory.

The mileage will evidently be a bit longer than I anticipated :)

Regards
/R

Den 2015-11-24 kl. 22:03, skrev email@hidden:
According the the doc App Sandbox Design Guide, UNIX Sockets are limited to the app or app group in a sandbox environment.

Network Sockets require entitlement for network.

YMMV

Sent from my iPhone

On Nov 25, 2015, at 5:23 AM, Stéphane Letz <email@hidden> wrote:

Message: 1
Date: Tue, 24 Nov 2015 15:18:57 +0100
From: Robert Bielik <email@hidden>
To: email@hidden
Subject: AudioServerPlugin
Message-ID: <email@hidden>
Content-Type: text/plain; charset=windows-1252; format=flowed

Hi,

Just setting up to migrate from our KEXT to a AudioServerPlugin, however
due to the sandboxing of the plugin, can someone tell if it is possible to:
1. Communicate with the plugin via a Unix Socket ?
2. Setup a shared memory area between the plugin and a controller
process (for exchanging audio data) ?

TIA
/R
JackRouter (CoreAudio/JACK) bridge still uses the old user-land model.

I've done some tests with the newest one (https://developer.apple.com/library/mac/samplecode/AudioDriverExamples/Introduction/Intro.html), but could not (up to now…)  make it work with JACK, although I've have to say I did not spend a lot of time on that…

Would be interested if you can make your project work, assuming you are ready to share some results or even code.

Stéphane Letz
_______________________________________________
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: 
 >Re: AudioServerPlugin (From: Stéphane Letz <email@hidden>)
 >Re: AudioServerPlugin (From: email@hidden)
 >Re: AudioServerPlugin (From: Robert Bielik <email@hidden>)
 >Re: AudioServerPlugin (From: Stéphane Letz <email@hidden>)

  • Prev by Date: Re: AudioServerPlugin
  • Next by Date: playback audio, noise appears
  • Previous by thread: Re: AudioServerPlugin
  • Next by thread: Debugging tip for AudioServerPlugin
  • Index(es):
    • Date
    • Thread