Reply To: programatically start and stop openEars/RapidEars swift

Home Forums OpenEars plugins programatically start and stop openEars/RapidEars swift Reply To: programatically start and stop openEars/RapidEars swift

#1032593
Halle Winkler
Politepix

Hi Saatyagi,

I wouldn’t set the instance false first or call stop on an optional instance that has been set false. There are a couple of examples of working stopListening() calls in the Swift sample app that is part of the OpenEarsDistribution directory in the file ViewController.swift that can help with this, as well as other complexities you may be seeing such as avoiding calling stop on an already-stopped instance.