Ableton / LinkKit

iOS SDK for Ableton Link, a new technology that synchronizes musical beat, tempo, and phase across multiple applications running on one or more devices.
http://ableton.github.io/linkkit
Other
149 stars 10 forks source link

Audiobus keeps adding Link participants #33

Closed jasonjsnell closed 7 years ago

jasonjsnell commented 7 years ago

Scenario:

1) Launch Audiobus 2) I select and launch my app from Audiobus. My app has Link enabled. 3) My app shows "Links 1" correctly. 4) Go back to Audiobus 5) Launch my app again (just by pressing the app icon) 6) My app now shows "Links 2". 7) Repeating steps 4-6 keeps adding Links (3, 4, 5, etc...) even though it should stay at "1 Link"

Since Links display is in the Link library, I wanted to bring the issue up here.

cdi-ableton commented 7 years ago

Is there any other application running in parallel with Link enabled? If not, there should be no peers in step 3. I did the test with our example app and other apps that have Link integrated and cannot reproduce this behaviour with or without a present Link enabled app in the network. An explanation could be that your app is instantiating a Link object each time it comes to the foreground.

jasonjsnell commented 7 years ago

My apologies - it must have been something with launching it right from Xcode and using Ableton at the same time. On it's own it's not happening. I'll close the issue - thanks!