-// AudioPlayerSwift.swift
+// AudioPlayer.swift
 //
 // Copyright (c) 2016 Tom Baranes
 //

    case fileExtension, fileNotFound
}

public class AudioPlayer: NSObject {

    public static let SoundDidFinishPlayingNotification = Notification.Name(rawValue: "SoundDidFinishPlayingNotification")
    public static let SoundDidFinishPlayingSuccessfully = "success"
    public typealias SoundDidFinishCompletion = (_ didFinish: Bool) -> Void


        }

        let success = [ AudioPlayer.SoundDidFinishPlayingSuccessfully: flag ]
        NotificationCenter.default.post(name: .SoundDidFinishPlayingNotification, object: self, userInfo: success)
    }

}
