     /// background thread. Any UI update should be made using:
     ///
     /// ```
-    /// dispatch_async(dispatch_get_main_queue()) {
+    /// Dispatch.main.async {
     ///    // UI updates...
     /// }
     /// ```

            }
        }
    }


}

        
        initialize()
    }
    
    // MARK: - Methods
    
    /// Start playback
    open func start() {
        
        if !playing {
            if audioFileBuffer != nil {
                playing = true
