     /// Checks if the current capture session is running
     public var isRunning: Bool {
         get {
+            switch self.captureMode {
             #if USE_ARKIT
-            if self.captureMode == .arKit {
+            case .arKit:
                 return self._arRunning
-            }
+            case .arKitWithoutAudio:
+                return self._arRunning
             #endif
-            if let session = self._captureSession {
-                return session.isRunning
-            }
-            return false
+            default:
+                if let session = self._captureSession {
+                    return session.isRunning
+                }
+                return false
+            }
+
+
         }
     }
 

        self.executeClosureAsyncOnSessionQueueIfNecessary {
            guard let config = self.arConfiguration?.config,
                  let options = self.arConfiguration?.runOptions else {
                    return
            }

            if self._captureSession == nil {

            throw NextLevelError.authorization
        }

        switch self.captureMode {
        #if USE_ARKIT
        case .arKit, .arKitWithoutAudio:
            setupARSession()
        #endif
        default:
            guard self._captureSession == nil else {
                throw NextLevelError.started
            }
